mirror of
https://github.com/yairm210/Unciv.git
synced 2025-10-02 00:15:36 -04:00
Fixes bug where coastal buildings cannot be built even if the city is coastal (#4197)
This commit is contained in:
parent
450c185af8
commit
bd850683e1
@ -399,6 +399,7 @@ open class TileInfo {
|
|||||||
fun matchesUniqueFilter(filter: String, civInfo: CivilizationInfo? = null): Boolean {
|
fun matchesUniqueFilter(filter: String, civInfo: CivilizationInfo? = null): Boolean {
|
||||||
return when (filter) {
|
return when (filter) {
|
||||||
"All" -> true
|
"All" -> true
|
||||||
|
baseTerrain -> true
|
||||||
"Water" -> isWater
|
"Water" -> isWater
|
||||||
"Land" -> isLand
|
"Land" -> isLand
|
||||||
"Coastal" -> isCoastalTile()
|
"Coastal" -> isCoastalTile()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user