diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-16 20:02:35 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-16 20:02:35 +0200 |
commit | 8c67a8de75d61200bc4f1cda01ec617d9bf75cd2 (patch) | |
tree | fb31823f07cd15efe4b9cf40362502876c349a38 /core/src | |
parent | 9c854709e59b5055b4d6a4d58743c0bc58bb3b93 (diff) | |
download | RustAndDust-8c67a8de75d61200bc4f1cda01ec617d9bf75cd2.zip RustAndDust-8c67a8de75d61200bc4f1cda01ec617d9bf75cd2.tar.gz |
Hud: correctly init flag
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Hud.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hud.java b/core/src/ch/asynk/tankontank/game/Hud.java index 9cdea68..2a84d0a 100644 --- a/core/src/ch/asynk/tankontank/game/Hud.java +++ b/core/src/ch/asynk/tankontank/game/Hud.java @@ -58,8 +58,7 @@ public class Hud implements Disposable bg = new Bg(atlas.findRegion("disabled")); msg = new Msg(game.skin.getFont("default-font"), atlas.findRegion("disabled")); - updatePlayer(); - + flag = ctrl.currentPlayer().getFlag(); flag.setPosition(OFFSET, (Gdx.graphics.getHeight() - flag.getHeight() - OFFSET)); // TODO add counters for // - Action Points |