From 8debbf03eb5b6a4f16f2e64a26ec1ff99fba6bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 4 Jan 2016 20:57:51 +0100 Subject: OptionsPanel: fix quit battle --- core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java | 1 + 1 file changed, 1 insertion(+) 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)) -- cgit v1.1-2-g2b99