summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java2
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;
}