summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/rustanddust/game/states/StateDeployment.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java b/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java
index d34d0dd..9d5de19 100644
--- a/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java
+++ b/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java
@@ -123,10 +123,10 @@ public class StateDeployment extends StateCommon
{
map.hexUnselect(selectedHex);
map.hexDirectionsHide(selectedHex);
-
- if (o != Orientation.KEEP)
- map.setOnBoard(selectedUnit, selectedHex, o);
-
+ map.revertEnter(selectedUnit);
+ if (o == Orientation.KEEP)
+ o = selectedUnit.getOrientation();
+ map.setOnBoard(selectedUnit, selectedHex, o);
ctrl.hud.actionButtons.hide();
ctrl.hud.playerInfo.unitDock.show();
entryZone = null;