summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-19 08:56:11 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-19 08:56:11 +0100
commit299871e27193e4d080c09c161c942bec36079859 (patch)
tree8ead73cd4742bc9343d5071036eb40688ac752ff /core/src
parent40124a80393331c77aceb8a8c4a16b5a5f581d7f (diff)
downloadRustAndDust-299871e27193e4d080c09c161c942bec36079859.zip
RustAndDust-299871e27193e4d080c09c161c942bec36079859.tar.gz
StateDeployment: unblock turns when leaving, not on done
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateDeployment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
index 2c966e0..8632e23 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
@@ -37,6 +37,7 @@ public class StateDeployment extends StateCommon
if (entryZone != null)
entryZone.enable(Hex.AREA, false);
ctrl.hud.playerInfo.unitDock.hide();
+ ctrl.hud.playerInfo.blockEndOfTurn(false);
}
@Override
@@ -50,7 +51,6 @@ public class StateDeployment extends StateCommon
public StateType done()
{
deployedUnits.clear();
- ctrl.hud.playerInfo.blockEndOfTurn(false);
return StateType.DONE;
}