summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-05-18 21:32:38 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-05-18 21:32:38 +0200
commit0c98e39be24cc5f54a6e2657fe73ce09b5ff792e (patch)
treed74872f0a6f63c48d952cd8b3b564bca259e33a2 /core/src/ch/asynk
parentb2bfe7b19c4d589a7fd64dcf6befa5ea7576bc24 (diff)
downloadRustAndDust-0c98e39be24cc5f54a6e2657fe73ce09b5ff792e.zip
RustAndDust-0c98e39be24cc5f54a6e2657fe73ce09b5ff792e.tar.gz
fix Ctrl: must Unit.clear() before loading, or this won't be on android
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Ctrl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java
index 337f87f..244569e 100644
--- a/core/src/ch/asynk/rustanddust/game/Ctrl.java
+++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java
@@ -107,6 +107,7 @@ public abstract class Ctrl implements Disposable
public static Ctrl getCtrl(final RustAndDust game)
{
+ Unit.clear();
Ctrl ctrl = null;
switch(game.config.gameMode)
{