mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-11 12:48:09 +00:00
put methods onto terraintile
This commit is contained in:
@@ -56,7 +56,7 @@ export class BotExecution implements Execution {
|
||||
if (this.neighborsTerraNullius) {
|
||||
for (const b of this.bot.borderTiles()) {
|
||||
for (const n of b.neighbors()) {
|
||||
if (n.owner() == this.mg.terraNullius() && n.isLand()) {
|
||||
if (n.owner() == this.mg.terraNullius() && n.terrain().isLand()) {
|
||||
this.sendAttack(this.mg.terraNullius())
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user