diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-18 23:56:01 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-18 23:56:01 +0100 |
commit | cde58b301288d64439d4432c3c244f767d737364 (patch) | |
tree | 952e6c073353dae6fc8fee7f8baa5871ae8496a7 /core/src/ch/asynk | |
parent | 82286dfbc8448ae56bb33e448a6b4a89754fbca5 (diff) | |
download | RustAndDust-cde58b301288d64439d4432c3c244f767d737364.zip RustAndDust-cde58b301288d64439d4432c3c244f767d737364.tar.gz |
StateDeployment: set selectedUnit to null at enter
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateDeployment.java | 1 |
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); |