diff --git a/core/src/com/unciv/logic/automation/ConstructionAutomation.kt b/core/src/com/unciv/logic/automation/ConstructionAutomation.kt index 60f98c9d78..a9e9cd8781 100644 --- a/core/src/com/unciv/logic/automation/ConstructionAutomation.kt +++ b/core/src/com/unciv/logic/automation/ConstructionAutomation.kt @@ -112,6 +112,8 @@ class ConstructionAutomation(val cityConstructions: CityConstructions){ } private fun addWorkerChoice() { + if(civInfo.getIdleUnits().any { it.name==Constants.worker && it.action== Constants.unitActionAutomation}) + return // If we have automated workers who have no work to do then it's silly to construct new workers. val citiesCountedTowardsWorkers = min(5, cities) // above 5 cities, extra cities won't make us want more workers if (workers < citiesCountedTowardsWorkers * 0.6f && civUnits.none { it.name==Constants.worker && it.isIdle() }) { var modifier = citiesCountedTowardsWorkers / (workers + 0.1f)