diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-12-19 08:56:11 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-12-19 08:56:11 +0100 |
commit | 299871e27193e4d080c09c161c942bec36079859 (patch) | |
tree | 8ead73cd4742bc9343d5071036eb40688ac752ff | |
parent | 40124a80393331c77aceb8a8c4a16b5a5f581d7f (diff) | |
download | RustAndDust-299871e27193e4d080c09c161c942bec36079859.zip RustAndDust-299871e27193e4d080c09c161c942bec36079859.tar.gz |
StateDeployment: unblock turns when leaving, not on done
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateDeployment.java | 2 |
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; } |