diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-31 23:04:39 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-31 23:04:39 +0200 |
commit | d6f4843180642976aa4a92ca8c0162c782d550ef (patch) | |
tree | 3ff5d529ab124babef9a2ce8665fcae74a723081 /core | |
parent | df21477a5b527a1f7c787df81f679e6aa6251560 (diff) | |
download | RustAndDust-d6f4843180642976aa4a92ca8c0162c782d550ef.zip RustAndDust-d6f4843180642976aa4a92ca8c0162c782d550ef.tar.gz |
PlayerInfo: follow new UnitDock API
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java index deadabb..9701cf3 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java +++ b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java @@ -145,7 +145,7 @@ public class PlayerInfo implements Disposable, Drawable, Animation return true; } else if (unitDock.hit(x, y)) { - ctrl.hud.notify(unitDock.select(x, y).toString(), Position.TOP_CENTER); + ctrl.hud.notify(unitDock.selectedUnit.toString(), Position.TOP_CENTER); ctrl.showEntryZone(); return true; } |