diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateSelect.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateSelect.java b/core/src/ch/asynk/tankontank/game/states/StateSelect.java index d097e0f..14d0d1b 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateSelect.java +++ b/core/src/ch/asynk/tankontank/game/states/StateSelect.java @@ -88,7 +88,7 @@ public class StateSelect extends StateCommon } isEnemy = ctrl.player.isEnemy(unit); - if (!isEnemy && (unit == selectedUnit)) { + if (!isEnemy && (unit == selectedUnit) && unit.canMove()) { if (unit.isHq()) { ctrl.hud.notify("HQ activation"); select(upHex, unit, isEnemy); |