mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 14:57:58 +07:00
More short notation, similar to next line
This commit is contained in:
@ -247,7 +247,7 @@ open class TileInfo {
|
||||
return when {
|
||||
isCityCenter() -> false
|
||||
improvement.name == this.improvement -> false
|
||||
improvement.uniqueTo != null && improvement.uniqueTo != civInfo.civName -> false
|
||||
improvement.uniqueTo?.let { it == civInfo.civName } == false -> false
|
||||
improvement.techRequired?.let { civInfo.tech.isResearched(it) } == false -> false
|
||||
improvement.terrainsCanBeBuiltOn.contains(topTerrain.name) -> true
|
||||
improvement.name == "Road" && roadStatus == RoadStatus.None -> true
|
||||
|
Reference in New Issue
Block a user