Resolved #1926 - fixed unique improvements

This commit is contained in:
Yair Morgenstern 2020-02-14 13:01:10 +02:00
parent 0143f6702d
commit 5117a9faa4

View File

@ -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