diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/hud/UnitDock.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/UnitDock.java b/core/src/ch/asynk/tankontank/game/hud/UnitDock.java index 5bd2a6d..4e78c32 100644 --- a/core/src/ch/asynk/tankontank/game/hud/UnitDock.java +++ b/core/src/ch/asynk/tankontank/game/hud/UnitDock.java @@ -85,6 +85,7 @@ public class UnitDock extends Bg if (visible && scaledRect.contains(x, y)) { int i = (int) ((scaledRect.y + scaledRect.height - y) / (scaledRect.height / pawns.size())); selectedPawn = pawns.get(i); + ctrl.hud.notify(selectedPawn.toString()); return true; } selectedPawn = null; |