summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/states
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-18 14:41:46 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-18 14:41:46 +0100
commit3f565c31f0738b40e41471d33cb693da5d315056 (patch)
treefb8a99a9fbab10e00f1fa7634fc5e5d356c3dfeb /core/src/ch/asynk/rustanddust/game/states
parentc92e902364a3e7549f61ba5a29bf9c9fca429305 (diff)
downloadRustAndDust-3f565c31f0738b40e41471d33cb693da5d315056.zip
RustAndDust-3f565c31f0738b40e41471d33cb693da5d315056.tar.gz
StateDeployment,Ctrl: clean up deployment completness procedure
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/states')
-rw-r--r--core/src/ch/asynk/rustanddust/game/states/StateDeployment.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java b/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java
index a209b87..97acf9e 100644
--- a/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java
+++ b/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java
@@ -123,9 +123,6 @@ public class StateDeployment extends StateCommon
map.hexDirectionsHide(selectedHex);
ctrl.hud.actionButtons.hide();
ctrl.hud.playerInfo.unitDock.show();
- if (ctrl.battle.isDeploymentDone())
- ctrl.hud.askEndDeployment();
- else
- ctrl.unitDeployed();
+ ctrl.setState(StateType.DONE);
}
}