mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-19 15:26:25 +00:00
use mini a star for all pathfinding
This commit is contained in:
@@ -26,7 +26,7 @@ export class NukeExecution implements Execution {
|
||||
|
||||
init(mg: MutableGame, ticks: number): void {
|
||||
this.mg = mg
|
||||
this.pathFinder = PathFinder.Serial(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