summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-18 23:56:01 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-18 23:56:01 +0100
commitcde58b301288d64439d4432c3c244f767d737364 (patch)
tree952e6c073353dae6fc8fee7f8baa5871ae8496a7 /core/src/ch/asynk/tankontank
parent82286dfbc8448ae56bb33e448a6b4a89754fbca5 (diff)
downloadRustAndDust-cde58b301288d64439d4432c3c244f767d737364.zip
RustAndDust-cde58b301288d64439d4432c3c244f767d737364.tar.gz
StateDeployment: set selectedUnit to null at enter
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateDeployment.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
index ee8d684..061411f 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
@@ -23,6 +23,7 @@ public class StateDeployment extends StateCommon
completed = false;
entryZone = null;
selectedHex = null;
+ selectedUnit = null;
ctrl.hud.actionButtons.hide();
ctrl.hud.playerInfo.unitDock.show();
ctrl.hud.playerInfo.blockEndOfTurn(true);