summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/Map.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/Map.java')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Map.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Map.java b/core/src/ch/asynk/rustanddust/game/Map.java
index f55b8fd..685a5b1 100644
--- a/core/src/ch/asynk/rustanddust/game/Map.java
+++ b/core/src/ch/asynk/rustanddust/game/Map.java
@@ -32,15 +32,16 @@ public abstract class Map extends Map5Marshal
public void actionDone()
{
- incActionId();
game.ctrl.actionDoneCb();
+ clearAll();
}
public void turnDone()
{
RustAndDust.debug("TurnDone", String.format(" Processed Orders : %d", ordersSize()));
- game.ctrl.turnDoneCb();
+ clearAll();
ordersClear();
+ game.ctrl.turnDoneCb();
}
@Override