diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-14 09:59:31 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-14 09:59:31 +0100 |
commit | c3111281e08da0e7e58032f42751a6b1448dbba8 (patch) | |
tree | a99c68d512b07d5fc0fb611d5496c096f572300f /core/src/ch/asynk/rustanddust/game/battles | |
parent | 016040397c7d9c005b2b296bf54c4262d6193ef6 (diff) | |
download | RustAndDust-c3111281e08da0e7e58032f42751a6b1448dbba8.zip RustAndDust-c3111281e08da0e7e58032f42751a6b1448dbba8.tar.gz |
BattleCommon: loadd(String) sets currentPlayer
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/battles')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java | 1 |
1 files changed, 1 insertions, 0 deletions
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 |