From d6f4843180642976aa4a92ca8c0162c782d550ef Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher 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(-) (limited to 'core/src') diff --git a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java index deadabbe..9701cf3a 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.2.3