From 5ec9cc5f674cb014100c4bff9bfc07ac00769093 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Fri, 24 Apr 2020 13:47:10 +0300 Subject: [PATCH] AI great people will no longer try to raise great improvements on tiles with existing great improvements --- core/src/com/unciv/logic/automation/SpecificUnitAutomation.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/unciv/logic/automation/SpecificUnitAutomation.kt b/core/src/com/unciv/logic/automation/SpecificUnitAutomation.kt index af890c4a74..7c9efd7296 100644 --- a/core/src/com/unciv/logic/automation/SpecificUnitAutomation.kt +++ b/core/src/com/unciv/logic/automation/SpecificUnitAutomation.kt @@ -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