summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-29 16:50:53 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-29 16:50:53 +0200
commit3595db47ffcd8ba828062747e638e4ee013f0da9 (patch)
tree6d6b146e76dbd334aa4e224045c358cd7e806330
parentd314ab2da61edd9326f9d364ea439964e6a00a80 (diff)
downloadRustAndDust-3595db47ffcd8ba828062747e638e4ee013f0da9.zip
RustAndDust-3595db47ffcd8ba828062747e638e4ee013f0da9.tar.gz
Ctrl: set default stateAfterAnimation = StateType.DONE
-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 4303ed7..4a2c403 100644
--- a/core/src/ch/asynk/rustanddust/game/Ctrl.java
+++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java
@@ -108,6 +108,7 @@ public abstract class Ctrl implements Disposable
this.state = selectState;
this.stateType = StateType.DONE;
+ this.stateAfterAnimation = StateType.DONE;
setState(battle.getState());