diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-04 20:57:51 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-04 20:57:51 +0100 |
commit | 8debbf03eb5b6a4f16f2e64a26ec1ff99fba6bd8 (patch) | |
tree | 017420a33053237e9111e89842be308e626e82a5 /core/src/ch/asynk/rustanddust | |
parent | ce4863a2b70b9ca2e6805a0f03e21dc8f04fc5b9 (diff) | |
download | RustAndDust-8debbf03eb5b6a4f16f2e64a26ec1ff99fba6bd8.zip RustAndDust-8debbf03eb5b6a4f16f2e64a26ec1ff99fba6bd8.tar.gz |
OptionsPanel: fix quit battle
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java | 1 |
1 files changed, 1 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 52728b0..58b2357 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java +++ b/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java @@ -143,6 +143,7 @@ public class OptionsPanel extends Patch cycleFxVolume(); } else if (quit.hit(x, y)) { game.ctrl.hud.askQuitBattle(); + return false; } else { for (int i = 0; i < checkLabels.length; i++) { if (checkLabels[i].hit(x, y)) |