diff options
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/PathBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java index e89e237..9efd699 100644 --- a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java +++ b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java @@ -195,7 +195,7 @@ public class PathBuilder implements Disposable private void keepOnly(Path path) { - getPaths().remove(path); + paths.remove(path); clearPaths(); paths.add(path); for (Tile tile : path.tiles) |