summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-14 09:59:31 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-14 09:59:31 +0100
commitc3111281e08da0e7e58032f42751a6b1448dbba8 (patch)
treea99c68d512b07d5fc0fb611d5496c096f572300f /core
parent016040397c7d9c005b2b296bf54c4262d6193ef6 (diff)
downloadRustAndDust-c3111281e08da0e7e58032f42751a6b1448dbba8.zip
RustAndDust-c3111281e08da0e7e58032f42751a6b1448dbba8.tar.gz
BattleCommon: loadd(String) sets currentPlayer
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java1
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