summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/rustanddust/game/Ctrl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java
index 8259a6c..23116db 100644
--- a/core/src/ch/asynk/rustanddust/game/Ctrl.java
+++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java
@@ -21,7 +21,7 @@ import ch.asynk.rustanddust.game.states.StateWithdraw;
public class Ctrl implements Disposable
{
- private final RustAndDust game;
+ public final RustAndDust game;
public final Battle battle;
public Map map;
@@ -51,9 +51,9 @@ public class Ctrl implements Disposable
public Ctrl(final RustAndDust game, final Battle battle)
{
+ game.ctrl = this;
this.game = game;
this.battle = battle;
- game.ctrl = this;
this.selectState = new StateSelect();
this.pathState = new StateMove();