mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-17 10:19:17 +00:00
add missile silo
This commit is contained in:
@@ -15,6 +15,8 @@ export class BuildValidator {
|
||||
return this.canBuildPort(player, tile)
|
||||
case BuildItems.Destroyer:
|
||||
return this.canBuildDestroyer(player, tile)
|
||||
case BuildItems.MissileSilo:
|
||||
return tile.owner() == player
|
||||
default:
|
||||
throw Error(`item ${item.type} not supported`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user