From 3f565c31f0738b40e41471d33cb693da5d315056 Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Thu, 18 Feb 2016 14:41:46 +0100 Subject: StateDeployment,Ctrl: clean up deployment completness procedure --- core/src/ch/asynk/rustanddust/game/states/StateDeployment.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'core/src/ch/asynk/rustanddust/game/states') diff --git a/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java b/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java index a209b877..97acf9e5 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); } } -- cgit v1.2.3