mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-07 00:26:49 +00:00
use terrain tile for search
This commit is contained in:
@@ -87,7 +87,7 @@ export class PortExecution implements Execution {
|
||||
const pf = new MiniAStar(
|
||||
this.mg.terrainMap(),
|
||||
this.mg.terrainMiniMap(),
|
||||
this.port.tile(), port.tile(),
|
||||
this.port.tile().terrain(), port.tile().terrain(),
|
||||
sn => sn.type() == TerrainType.Ocean,
|
||||
10_000,
|
||||
25
|
||||
|
||||
Reference in New Issue
Block a user