From 5117a9faa4b5b8b65e0aa71512a502cf200b83e1 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Fri, 14 Feb 2020 13:01:10 +0200 Subject: [PATCH] Resolved #1926 - fixed unique improvements --- core/src/com/unciv/logic/map/TileInfo.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/map/TileInfo.kt b/core/src/com/unciv/logic/map/TileInfo.kt index e75c5d2846..d786619a11 100644 --- a/core/src/com/unciv/logic/map/TileInfo.kt +++ b/core/src/com/unciv/logic/map/TileInfo.kt @@ -247,7 +247,7 @@ open class TileInfo { return when { isCityCenter() -> false improvement.name == this.improvement -> false - improvement.uniqueTo?.equals(civInfo) == false -> false + improvement.uniqueTo != civInfo.civName -> false improvement.techRequired?.let { civInfo.tech.isResearched(it) } == false -> false improvement.terrainsCanBeBuiltOn.contains(topTerrain.name) -> true improvement.name == "Road" && roadStatus == RoadStatus.None -> true