mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-25 04:43:05 -04:00
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
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user