mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-11 03:18:18 +07:00
More short notation, similar to next line
This commit is contained in:
parent
55ce9622e7
commit
f97cc59fac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user