summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-20 12:22:48 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-20 12:22:48 +0100
commit1f1eeb2353f2c044e91a0696a92db5a10fe24b40 (patch)
treecc208d8ed76812bfc11a7c97745c29eed2b8aa96 /core
parent7459e4587cfb93f65312f324111bed6bf40d06fc (diff)
downloadRustAndDust-1f1eeb2353f2c044e91a0696a92db5a10fe24b40.zip
RustAndDust-1f1eeb2353f2c044e91a0696a92db5a10fe24b40.tar.gz
Ctrl: fix 38573f8 logic error
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/Ctrl.java2
1 files changed, 1 insertions, 1 deletions
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);