mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-21 01:19:39 +00:00
use TileRef instead of TerrainTile for astar
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user