summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Ctrl.java15
1 files changed, 4 insertions, 11 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java
index 39811d3..4059b13 100644
--- a/core/src/ch/asynk/rustanddust/game/Ctrl.java
+++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java
@@ -433,18 +433,11 @@ public abstract class Ctrl implements Disposable
map.prepareReplayLastTurn();
setState(StateType.REPLAY);
this.stateAfterAnimation = StateType.REPLAY;
- } else {
- hud.notify("Replay Done", Position.MIDDLE_CENTER);
- map.clearMarshalUnits();
- if (!synched) {
- storeGameState();
- synched = true;
- }
- this.mode = Mode.PLAY;
- checkPlayer(battle.getState());
+ blockEvents = 0.5f;
+ return;
}
- blockEvents = 0.5f;
- return;
+ nextState = null;
+ map.clearMarshalUnits();
}
hud.notify("Replay Done", Position.MIDDLE_CENTER);
this.mode = Mode.PLAY;