diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-04 20:37:06 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-04 20:37:06 +0100 |
commit | 9049d13178f17cf95986c6a26dc02676537cf138 (patch) | |
tree | aa3272fcd7df5a2a5db1d8a80b192e962eb215a0 /core/src/ch/asynk/rustanddust/game/hud | |
parent | c968faf4683610917a2184c827833cbd4ebcb2ee (diff) | |
download | RustAndDust-9049d13178f17cf95986c6a26dc02676537cf138.zip RustAndDust-9049d13178f17cf95986c6a26dc02676537cf138.tar.gz |
OptionsPanel: quick closing
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/hud')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java b/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java index 65b599a..52728b0 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java +++ b/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java @@ -150,6 +150,11 @@ public class OptionsPanel extends Patch } } + if (!super.hit(x,y)) { + apply(); + return true; + } + return false; } |