summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Ctrl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java
index f3cf338..3c9a56c 100644
--- a/core/src/ch/asynk/rustanddust/game/Ctrl.java
+++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java
@@ -562,7 +562,7 @@ public abstract class Ctrl implements Disposable
if (depth > 1)
RustAndDust.error(String.format("***!!!*** STATE DEPTH : %d", depth));
- if (nextState == StateType.DEPLOYMENT) {
+ if ((this.mode == Mode.PLAY) && (nextState == StateType.DEPLOYMENT)) {
if (battle.isDeploymentDone())
hud.askEndDeployment();
}