mirror of
https://github.com/yairm210/Unciv.git
synced 2025-08-02 16:19:41 +07:00
AI great people will no longer try to raise great improvements on tiles with existing great improvements
This commit is contained in:
@ -212,6 +212,7 @@ object SpecificUnitAutomation {
|
||||
.filter {
|
||||
it.isLand && it.resource == null && !it.isCityCenter()
|
||||
&& (unit.currentTile == it || unit.movement.canMoveTo(it))
|
||||
&& !it.containsGreatImprovement()
|
||||
}.sortedByDescending { Automation.rankTile(it, unit.civInfo) }
|
||||
.firstOrNull { unit.movement.canReach(it) } // to another city
|
||||
if (chosenTile == null) continue
|
||||
|
Reference in New Issue
Block a user