diff --git a/core/src/com/unciv/logic/automation/Automation.kt b/core/src/com/unciv/logic/automation/Automation.kt index 9ef4c37a0e..f3b4987f00 100644 --- a/core/src/com/unciv/logic/automation/Automation.kt +++ b/core/src/com/unciv/logic/automation/Automation.kt @@ -159,9 +159,8 @@ object Automation { val totalCarriableUnits = civInfo.units.getCivUnits().count { it.matchesFilter(carryFilter) } val totalCarryingSlots = civInfo.units.getCivUnits().sumOf { getCarryAmount(it) } - val currentUnitCarryingSlots = carryUnique.params[0].toInt() - return totalCarriableUnits < totalCarryingSlots + currentUnitCarryingSlots + return totalCarriableUnits < totalCarryingSlots } fun chooseMilitaryUnit(city: City, availableUnits: Sequence): String? {