diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-04-13 23:44:53 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-04-13 23:48:54 +0200 |
commit | 95d0131cb9733d273b81bf63a8778dc2b8e0a414 (patch) | |
tree | be0bca04dc39f66ce1ffbeb5f22e191123e5facf /core/src/ch/asynk/rustanddust/game/Map.java | |
parent | 513938e9b1731308535ef45336239f9209e2e396 (diff) | |
download | RustAndDust-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.java | 5 |
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 |