Allow purchasing air units whenever they can be built

This commit is contained in:
yairm210 2024-07-08 17:25:10 +03:00
parent aee34de2f4
commit 28fc6a014c
2 changed files with 2 additions and 2 deletions

View File

@ -420,7 +420,7 @@ class City : IsPartOfGameInfoSerialization, INamed {
val tile = getCenterTile()
return when {
construction.isCivilian() -> tile.civilianUnit == null
construction.movesLikeAirUnits -> tile.airUnits.count { !it.isTransported } < 6
construction.movesLikeAirUnits -> return true // Dealt with in MapUnit.getRejectionReasons
else -> tile.militaryUnit == null
}
}