mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-14 08:59:03 +00:00
put methods onto terraintile
This commit is contained in:
@@ -34,7 +34,7 @@ export class BotSpawner {
|
||||
|
||||
spawnBot(botName: string): SpawnIntent | null {
|
||||
const tile = this.randTile()
|
||||
if (!tile.isLand()) {
|
||||
if (!tile.terrain().isLand()) {
|
||||
return null
|
||||
}
|
||||
for (const spawn of this.bots) {
|
||||
|
||||
Reference in New Issue
Block a user