summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/tankontank/game/GameStatePath.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/GameStatePath.java b/core/src/ch/asynk/tankontank/game/GameStatePath.java
index 06f64a4..808cbee 100644
--- a/core/src/ch/asynk/tankontank/game/GameStatePath.java
+++ b/core/src/ch/asynk/tankontank/game/GameStatePath.java
@@ -29,7 +29,7 @@ public class GameStatePath extends GameStateCommon
}
if (s == 1) {
- map.enableFinalPath(downHex, true);
+ map.enableFinalPath(to, true);
ctrl.setState(State.DIRECTION, true);
}
}