diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-09 23:01:36 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-09 23:01:36 +0100 |
commit | fcaca215020060a7830d20d5aa6069dc0e529400 (patch) | |
tree | 5c46eb6502a4fbfff099885d098f90791cd12c3f /core/src/ch/asynk/rustanddust | |
parent | 01994a6fd401afec6910fe8b0814eee5530cbf79 (diff) | |
download | RustAndDust-fcaca215020060a7830d20d5aa6069dc0e529400.zip RustAndDust-fcaca215020060a7830d20d5aa6069dc0e529400.tar.gz |
Ctrl: remove useless if case
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Ctrl.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java index 31f1b3e..2b638a6 100644 --- a/core/src/ch/asynk/rustanddust/game/Ctrl.java +++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java @@ -299,10 +299,8 @@ public class Ctrl implements Disposable } if (battle.getPlayer().apExhausted()) hud.notifyNoMoreAP(); - } - - if (nextState == StateType.DONE) nextState = battle.getState(); + } return nextState; } |