From 6641ee0944cbe2397962b74729373958f63cfab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 10 Feb 2016 12:16:40 +0100 Subject: BattleCommon: init is one turn, only call map.turnDone() when all is done --- core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java index fbf088d..406e8a1 100644 --- a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java +++ b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java @@ -108,17 +108,14 @@ public abstract class BattleCommon implements Battle this.currentPlayer = players[0]; setupPlayer(); - map.actionDone(); - map.turnDone(); currentPlayer.turnEnd(); this.currentPlayer = players[1]; setupPlayer(); - map.actionDone(); - map.turnDone(); currentPlayer.turnEnd(); this.currentPlayer = players[0]; + map.turnDone(); } @Override -- cgit v1.1-2-g2b99