From fcaca215020060a7830d20d5aa6069dc0e529400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 9 Dec 2015 23:01:36 +0100 Subject: Ctrl: remove useless if case --- core/src/ch/asynk/rustanddust/game/Ctrl.java | 4 +--- 1 file changed, 1 insertion(+), 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; } -- cgit v1.1-2-g2b99