AI great people will no longer try to raise great improvements on tiles with existing great improvements
This commit is contained in:
parent
e3ed241b9d
commit
5ec9cc5f67
1 changed files with 1 additions and 0 deletions
|
@ -212,6 +212,7 @@ object SpecificUnitAutomation {
|
||||||
.filter {
|
.filter {
|
||||||
it.isLand && it.resource == null && !it.isCityCenter()
|
it.isLand && it.resource == null && !it.isCityCenter()
|
||||||
&& (unit.currentTile == it || unit.movement.canMoveTo(it))
|
&& (unit.currentTile == it || unit.movement.canMoveTo(it))
|
||||||
|
&& !it.containsGreatImprovement()
|
||||||
}.sortedByDescending { Automation.rankTile(it, unit.civInfo) }
|
}.sortedByDescending { Automation.rankTile(it, unit.civInfo) }
|
||||||
.firstOrNull { unit.movement.canReach(it) } // to another city
|
.firstOrNull { unit.movement.canReach(it) } // to another city
|
||||||
if (chosenTile == null) continue
|
if (chosenTile == null) continue
|
||||||
|
|
Loading…
Reference in a new issue