diff --git a/core/src/com/unciv/logic/automation/unit/UnitAutomation.kt b/core/src/com/unciv/logic/automation/unit/UnitAutomation.kt index 3959786991..6403b9ed6f 100644 --- a/core/src/com/unciv/logic/automation/unit/UnitAutomation.kt +++ b/core/src/com/unciv/logic/automation/unit/UnitAutomation.kt @@ -196,6 +196,9 @@ object UnitAutomation { unit.promotions.addPromotion(chosenPromotion.name) } + + // AI upgrades units via UseGoldAutomation in NextTurnAutomation + if (unit.civ.isHuman() && tryUpgradeUnit(unit)) return //This allows for military units with certain civilian abilities to behave as civilians in peace and soldiers in war if ((unit.hasUnique(UniqueType.BuildImprovements) || unit.hasUnique(UniqueType.FoundCity) ||