From d6f4843180642976aa4a92ca8c0162c782d550ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 31 Mar 2016 23:04:39 +0200 Subject: PlayerInfo: follow new UnitDock API --- core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.1-2-g2b99