diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateWithdraw.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateWithdraw.java b/core/src/ch/asynk/tankontank/game/states/StateWithdraw.java index df2e0ce..43c38cc 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateWithdraw.java +++ b/core/src/ch/asynk/tankontank/game/states/StateWithdraw.java @@ -49,7 +49,8 @@ public class StateWithdraw extends StateCommon Zone exitZone = ctrl.battle.getExitZone(unit); Hex hex = unit.getHex(); - if (selectedHex == hex) + // rotation + if (map.pathBuilder.to == null) map.pathBuilder.build(hex); Hex exitHex = (Hex) map.pathBuilder.to; |