From 1f1eeb2353f2c044e91a0696a92db5a10fe24b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 20 Jan 2015 12:22:48 +0100 Subject: Ctrl: fix 38573f8 logic error --- core/src/ch/asynk/tankontank/game/Ctrl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java index 8a3fdb5..0a1c416 100644 --- a/core/src/ch/asynk/tankontank/game/Ctrl.java +++ b/core/src/ch/asynk/tankontank/game/Ctrl.java @@ -204,7 +204,7 @@ public class Ctrl implements Disposable if (stateType == StateType.ANIMATION) { this.blockMap = hud.dialogActive(); } - hud.playerInfo.blockEndOfTurn(stateType == StateType.SELECT); + hud.playerInfo.blockEndOfTurn(nextState != StateType.SELECT); this.state.leave(nextState); -- cgit v1.1-2-g2b99