From 4e766464a74bdf922e93161834fc29ac85525a00 Mon Sep 17 00:00:00 2001 From: EmperorPinguin <99119424+EmperorPinguin@users.noreply.github.com> Date: Wed, 23 Jul 2025 21:22:52 +0200 Subject: [PATCH] Perf: remove AI personality for citizen assignment (#13676) --- core/src/com/unciv/logic/automation/Automation.kt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/src/com/unciv/logic/automation/Automation.kt b/core/src/com/unciv/logic/automation/Automation.kt index 98684f6264..81567d196a 100644 --- a/core/src/com/unciv/logic/automation/Automation.kt +++ b/core/src/com/unciv/logic/automation/Automation.kt @@ -169,13 +169,6 @@ object Automation { yieldStats.production /= 6 } - if (!city.civ.isHuman()) { // Don't mess things up with a single turn of Autoplay - for (stat in Stat.entries) { - val scaledFocus = civPersonality.scaledFocus(PersonalityValue[stat]) - if (scaledFocus != 1f) yieldStats[stat] *= scaledFocus - } - } - // Apply City focus cityAIFocus.applyWeightTo(yieldStats)