mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-21 18:36:17 -04:00
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:
parent
3515445bf8
commit
aefbeae6bc
@ -170,9 +170,11 @@ object Automation {
|
||||
yieldStats.production /= 6
|
||||
}
|
||||
|
||||
for (stat in Stat.entries) {
|
||||
val scaledFocus = civPersonality.scaledFocus(PersonalityValue[stat])
|
||||
if (scaledFocus != 1f) yieldStats[stat] *= scaledFocus
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user