summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-02-18 18:26:56 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-02-18 18:26:56 +0100
commit515b5166127b936c162f918d057c9f94bcba458d (patch)
treec152f92c6b8d476957758c7bc08ebb3a5bd58a02 /core/src/ch/asynk/tankontank
parent96b1c4fa2fe100c95b4444aed58634e99d9887a4 (diff)
downloadRustAndDust-515b5166127b936c162f918d057c9f94bcba458d.zip
RustAndDust-515b5166127b936c162f918d057c9f94bcba458d.tar.gz
StateDeployment: must remove unit from dock before showing it on board
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 9fb9a7e..63a2087 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java
@@ -101,6 +101,7 @@ public class StateDeployment extends StateCommon
{
selectedUnit = unit;
selectedHex = upHex;
+ ctrl.player.reinforcement.remove(unit);
map.showOnBoard(unit, upHex, entryZone.orientation);
deployedUnits.add(unit);
entryZone.enable(Hex.AREA, false);