summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/game/Ctrl.java1
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateDeployment.java2
2 files changed, 1 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java
index 82ba7f1..79008f4 100644
--- a/core/src/ch/asynk/tankontank/game/Ctrl.java
+++ b/core/src/ch/asynk/tankontank/game/Ctrl.java
@@ -202,6 +202,7 @@ public class Ctrl implements Disposable
if (stateType == StateType.ANIMATION) {
this.blockMap = hud.dialogActive();
}
+ hud.playerInfo.blockEndOfTurn(stateType == StateType.SELECT);
this.state.leave(nextState);
diff --git a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
index 6129631..3fd9aa5 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
@@ -26,7 +26,6 @@ public class StateDeployment extends StateCommon
selectedUnit = null;
ctrl.hud.actionButtons.hide();
ctrl.hud.playerInfo.unitDock.show();
- ctrl.hud.playerInfo.blockEndOfTurn(true);
}
@Override
@@ -38,7 +37,6 @@ public class StateDeployment extends StateCommon
if (entryZone != null)
entryZone.enable(Hex.AREA, false);
ctrl.hud.playerInfo.unitDock.hide();
- ctrl.hud.playerInfo.blockEndOfTurn(false);
}
@Override