summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index 3f1a552..5384abc 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -390,6 +390,7 @@ public abstract class Map extends Board implements MoveToAnimationCb, ObjectiveS
public boolean setOnBoard(final Unit unit, Hex to, Orientation entry)
{
+ commands.dispose(unit);
return (process(getMoveCommand(unit, Move.getSet(unit, to, entry))) == 1);
}