summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/rustanddust/game/states/StateSelect.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateSelect.java b/core/src/ch/asynk/rustanddust/game/states/StateSelect.java
index 1a7dce2..f7914ee 100644
--- a/core/src/ch/asynk/rustanddust/game/states/StateSelect.java
+++ b/core/src/ch/asynk/rustanddust/game/states/StateSelect.java
@@ -87,7 +87,7 @@ public class StateSelect extends StateCommon
isEnemy = ctrl.battle.getPlayer().isEnemy(unit);
if (!isEnemy && (unit == selectedUnit) && unit.canMove()) {
- if (unit.isHq()) {
+ if (unit.isHq() && (map.unitsMoveableSize() > 1)) {
ctrl.hud.notify("HQ activation");
select(upHex, unit, isEnemy);
ctrl.setState(StateType.MOVE);