From bd850683e1dc72823fbc6c4f39326efa5a381313 Mon Sep 17 00:00:00 2001 From: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Date: Sat, 19 Jun 2021 20:46:20 +0200 Subject: [PATCH] Fixes bug where coastal buildings cannot be built even if the city is coastal (#4197) --- core/src/com/unciv/logic/map/TileInfo.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/unciv/logic/map/TileInfo.kt b/core/src/com/unciv/logic/map/TileInfo.kt index 657e936243..7ef6e8f871 100644 --- a/core/src/com/unciv/logic/map/TileInfo.kt +++ b/core/src/com/unciv/logic/map/TileInfo.kt @@ -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()