From c3111281e08da0e7e58032f42751a6b1448dbba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 14 Mar 2016 09:59:31 +0100 Subject: BattleCommon: loadd(String) sets currentPlayer --- core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java index 4a705ed..2a4f766 100644 --- a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java +++ b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java @@ -98,6 +98,7 @@ public abstract class BattleCommon implements Battle public void load(String payload) { map.load(payload, players); + this.currentPlayer = players[0]; } @Override -- cgit v1.1-2-g2b99