Enable Polinesia worker to build regular improvements (#1945)

* Enable Polinesia worker to build regular improvements

* More short notation, similar to next line

* Revert "More short notation, similar to next line"

This reverts commit f97cc59fac.
This commit is contained in:
JackRainy 2020-02-15 21:54:09 +02:00 committed by GitHub
parent eb0f00dc72
commit a6765c0b72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ open class TileInfo {
return when {
isCityCenter() -> false
improvement.name == this.improvement -> false
improvement.uniqueTo != civInfo.civName -> false
improvement.uniqueTo != null && 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