summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index 1d5faf6..f78e499 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -326,7 +326,10 @@ public abstract class Map extends Board
if (success) {
seq.addAnimation(RunnableAnimation.get(target, new Runnable() {
@Override
- public void run() { removePawn(target); }
+ public void run() {
+ objectives.unclaim(target.getHex());
+ removePawn(target);
+ }
}));
}
seq.addAnimation(notifyDoneAnimation(target));