From 4bda843b2878d0d92b09c3c0d75c73e2d0fc8092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 9 Dec 2015 09:13:47 +0100 Subject: Ctrl: must call hud.update() before setState() --- core/src/ch/asynk/rustanddust/game/Ctrl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } } -- cgit v1.1-2-g2b99