diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-09 09:13:47 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-09 09:13:47 +0100 |
commit | 4bda843b2878d0d92b09c3c0d75c73e2d0fc8092 (patch) | |
tree | 5d439e2a5c84bdfc0f7178f971c9f2dbef7a057f /core/src/ch/asynk/rustanddust | |
parent | d565b341f20866c908e51bc15378a71b2fb6cfc9 (diff) | |
download | RustAndDust-4bda843b2878d0d92b09c3c0d75c73e2d0fc8092.zip RustAndDust-4bda843b2878d0d92b09c3c0d75c73e2d0fc8092.tar.gz |
Ctrl: must call hud.update() before setState()
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Ctrl.java | 2 |
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()); } } |