summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-31 23:04:39 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-31 23:04:39 +0200
commitd6f4843180642976aa4a92ca8c0162c782d550ef (patch)
tree3ff5d529ab124babef9a2ce8665fcae74a723081
parentdf21477a5b527a1f7c787df81f679e6aa6251560 (diff)
downloadRustAndDust-d6f4843180642976aa4a92ca8c0162c782d550ef.zip
RustAndDust-d6f4843180642976aa4a92ca8c0162c782d550ef.tar.gz
PlayerInfo: follow new UnitDock API
-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;
}