Fixes bug where coastal buildings cannot be built even if the city is coastal (#4197)

This commit is contained in:
Xander Lenstra 2021-06-19 20:46:20 +02:00 committed by GitHub
parent 450c185af8
commit bd850683e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -399,6 +399,7 @@ open class TileInfo {
fun matchesUniqueFilter(filter: String, civInfo: CivilizationInfo? = null): Boolean {
return when (filter) {
"All" -> true
baseTerrain -> true
"Water" -> isWater
"Land" -> isLand
"Coastal" -> isCoastalTile()