summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-04 20:57:51 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-04 20:57:51 +0100
commit8debbf03eb5b6a4f16f2e64a26ec1ff99fba6bd8 (patch)
tree017420a33053237e9111e89842be308e626e82a5 /core/src/ch/asynk
parentce4863a2b70b9ca2e6805a0f03e21dc8f04fc5b9 (diff)
downloadRustAndDust-8debbf03eb5b6a4f16f2e64a26ec1ff99fba6bd8.zip
RustAndDust-8debbf03eb5b6a4f16f2e64a26ec1ff99fba6bd8.tar.gz
OptionsPanel: fix quit battle
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java1
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))