summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/Map.java
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-04-13 23:44:53 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-04-13 23:48:54 +0200
commit95d0131cb9733d273b81bf63a8778dc2b8e0a414 (patch)
treebe0bca04dc39f66ce1ffbeb5f22e191123e5facf /core/src/ch/asynk/rustanddust/game/Map.java
parent513938e9b1731308535ef45336239f9209e2e396 (diff)
downloadRustAndDust-keep.zip
RustAndDust-keep.tar.gz
WIPkeep
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