use TileRef instead of TerrainTile for astar

This commit is contained in:
evanpelle
2025-02-01 12:05:11 -08:00
committed by Evan
parent 2a2f62436c
commit b22532d41f
16 changed files with 149 additions and 110 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export class NukeExecution implements Execution {
init(mg: MutableGame, ticks: number): void {
this.mg = mg
this.pathFinder = PathFinder.Mini(mg, 10_000, () => true)
this.pathFinder = PathFinder.Mini(mg, 10_000, true)
this.player = mg.player(this.senderID)
this.dst = this.mg.tile(this.cell)
}