mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-25 21:02:45 +00:00
src/core/execution/PlayerExecution.ts
This commit is contained in:
@@ -226,7 +226,7 @@ export class PlayerExecution implements Execution {
|
||||
}
|
||||
|
||||
const firstTile = cluster.values().next().value;
|
||||
const filter = (_, t: TileRef): boolean =>
|
||||
const filter = (_: unknown, t: TileRef): boolean =>
|
||||
this.mg?.ownerID(t) === this.player?.smallID();
|
||||
const tiles = this.mg.bfs(firstTile, filter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user