summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
index e88600c..e938f69 100644
--- a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
+++ b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
@@ -103,12 +103,12 @@ public abstract class BattleCommon implements Battle
public void load(Marshal.Mode mode, JsonValue value)
{
+ map.load(mode, value);
if((mode == Marshal.Mode.FULL) || (mode == Marshal.Mode.STATE)) {
JsonValue v = value.get("battle");
this.turnCount = v.getInt("turnCount");
map.loadPlayers(value, players);
}
- map.load(mode, value);
this.currentPlayer = players[0];
}