diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StatePromote.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StatePromote.java b/core/src/ch/asynk/tankontank/game/states/StatePromote.java index 1950847..81d6d7e 100644 --- a/core/src/ch/asynk/tankontank/game/states/StatePromote.java +++ b/core/src/ch/asynk/tankontank/game/states/StatePromote.java @@ -7,10 +7,10 @@ public class StatePromote extends StateCommon @Override public void enter(StateType prevState) { - map.promoteUnit(selectedUnit); ctrl.setAnimationCount(1); - ctrl.setAfterAnimationState(StateType.SELECT); + ctrl.setAfterAnimationState(StateType.DONE); ctrl.setState(StateType.ANIMATION); + map.promoteUnit(selectedUnit); } @Override |