summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateDeployment.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
index 63a2087..91b5bd5 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
@@ -124,9 +124,8 @@ public class StateDeployment extends StateCommon
map.unselectHex(selectedHex);
map.hideDirections(selectedHex);
- if (o == Orientation.KEEP)
- o = entryZone.orientation;
- map.setOnBoard(selectedUnit, selectedHex, o);
+ if (o != Orientation.KEEP)
+ map.setOnBoard(selectedUnit, selectedHex, o);
ctrl.hud.actionButtons.hide();
ctrl.hud.playerInfo.unitDock.show();