Update Automation.kt

This commit is contained in:
EmperorPinguin 2024-12-13 14:14:08 +01:00 committed by GitHub
parent 56b86afb73
commit 4a91ef4df7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,8 +157,8 @@ object Automation {
if (city.civ.wantsToFocusOn(stat))
yieldStats[stat] *= 2f
val scaledFocus = civPersonality.scaledFocus(PersonalityValue[stat])
if (scaledFocus != 1f) yieldStats[stat] *= scaledFocus
val modifierFocus = civPersonality.modifierFocus(PersonalityValue[stat])
if (modifierFocus != 1f) yieldStats[stat] *= modifierFocus
}
// Apply City focus