diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-18 21:32:38 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-18 21:32:38 +0200 |
commit | 0c98e39be24cc5f54a6e2657fe73ce09b5ff792e (patch) | |
tree | d74872f0a6f63c48d952cd8b3b564bca259e33a2 /core/src | |
parent | b2bfe7b19c4d589a7fd64dcf6befa5ea7576bc24 (diff) | |
download | RustAndDust-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')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Ctrl.java | 1 |
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) { |