summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/tankontank/game/Ctrl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java
index 58b2856..82ba7f1 100644
--- a/core/src/ch/asynk/tankontank/game/Ctrl.java
+++ b/core/src/ch/asynk/tankontank/game/Ctrl.java
@@ -61,9 +61,9 @@ public class Ctrl implements Disposable
battle.init();
this.map = battle.getMap();
+ battle.setup(this, map);
this.player = battle.getPlayer();
this.opponent = battle.opponent(player);
- battle.setup(this, map);
this.selectState = new StateSelect(this, map);
this.pathState = new StateMove();