summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-09 23:01:36 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-09 23:01:36 +0100
commitfcaca215020060a7830d20d5aa6069dc0e529400 (patch)
tree5c46eb6502a4fbfff099885d098f90791cd12c3f /core/src
parent01994a6fd401afec6910fe8b0814eee5530cbf79 (diff)
downloadRustAndDust-fcaca215020060a7830d20d5aa6069dc0e529400.zip
RustAndDust-fcaca215020060a7830d20d5aa6069dc0e529400.tar.gz
Ctrl: remove useless if case
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Ctrl.java4
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;
}