Autoplay: don't assign citizens according to AI Personality (#13453)

* Update Automation.kt

* Update core/src/com/unciv/logic/automation/Automation.kt

---------

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
This commit is contained in:
EmperorPinguin 2025-06-17 15:09:56 +02:00 committed by GitHub
parent 3515445bf8
commit aefbeae6bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -170,9 +170,11 @@ object Automation {
yieldStats.production /= 6 yieldStats.production /= 6
} }
for (stat in Stat.entries) { if (!city.civ.isHuman()) { // Don't mess things up with a single turn of Autoplay
val scaledFocus = civPersonality.scaledFocus(PersonalityValue[stat]) for (stat in Stat.entries) {
if (scaledFocus != 1f) yieldStats[stat] *= scaledFocus val scaledFocus = civPersonality.scaledFocus(PersonalityValue[stat])
if (scaledFocus != 1f) yieldStats[stat] *= scaledFocus
}
} }
// Apply City focus // Apply City focus