diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Ctrl.java | 4 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateDeployment.java | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java index 0c9ad63..341292b 100644 --- a/core/src/ch/asynk/tankontank/game/Ctrl.java +++ b/core/src/ch/asynk/tankontank/game/Ctrl.java @@ -282,8 +282,8 @@ public class Ctrl implements Disposable public boolean checkDeploymentDone() { boolean done = battle.deploymentDone(player); - if (done) - hud.askEndDeployment(); + // if (done) + // hud.askEndDeployment(); return done; } diff --git a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java index e8e20ae..b2359cd 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java +++ b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java @@ -129,7 +129,9 @@ public class StateDeployment extends StateCommon entryZone = null; activeUnit = null; selectedUnit = null; - if (ctrl.checkDeploymentDone()) + if (ctrl.checkDeploymentDone()) { done = true; + ctrl.hud.actionButtons.show(Buttons.DONE.b); + } } } |