summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-09 09:13:47 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-09 09:13:47 +0100
commit4bda843b2878d0d92b09c3c0d75c73e2d0fc8092 (patch)
tree5d439e2a5c84bdfc0f7178f971c9f2dbef7a057f /core/src/ch/asynk
parentd565b341f20866c908e51bc15378a71b2fb6cfc9 (diff)
downloadRustAndDust-4bda843b2878d0d92b09c3c0d75c73e2d0fc8092.zip
RustAndDust-4bda843b2878d0d92b09c3c0d75c73e2d0fc8092.tar.gz
Ctrl: must call hud.update() before setState()
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Ctrl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java
index e80890c..c5fbe44 100644
--- a/core/src/ch/asynk/rustanddust/game/Ctrl.java
+++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java
@@ -95,9 +95,9 @@ public class Ctrl implements Disposable
if (battle.turnDone())
hud.victory(battle.getPlayer(), battle.getOpponent());
else {
- hud.update();
if (battle.hasReinforcement())
hud.notify("You have reinforcement", 2, Position.MIDDLE_CENTER, true);
+ hud.update();
setState(battle.getState());
}
}