diff --git a/core/src/com/unciv/logic/automation/unit/WorkerAutomation.kt b/core/src/com/unciv/logic/automation/unit/WorkerAutomation.kt index 758b783567..2598247165 100644 --- a/core/src/com/unciv/logic/automation/unit/WorkerAutomation.kt +++ b/core/src/com/unciv/logic/automation/unit/WorkerAutomation.kt @@ -410,10 +410,7 @@ class WorkerAutomation( if (tile.getOwner() != unit.civ) stats.div(3f) - val city = tile.getWorkingCity() ?: tile.owningCity ?: tile.getTilesInDistance(3).firstOrNull { it.isCityCenter() }?.getCity() - var value = if (city != null) Automation.rankStatsForCityWork(stats, city, false, localUniqueCache) - else Automation.rankStatsValue(stats, unit.civ) - + var value = Automation.rankStatsValue(stats, unit.civ) // Calculate the bonus from gaining the resources, this isn't included in the stats above if (tile.resource != null && tile.tileResource.resourceType != ResourceType.Bonus) { // A better resource ranking system might be required, we don't want the improvement