mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-30 22:58:50 +07:00
Resolved #8375 - Consider tile happiness for start-of-turn computations
This commit is contained in:
@ -543,9 +543,12 @@ class GameInfo : IsPartOfGameInfoSerialization, HasGameInfoSerializationVersion
|
||||
civInfo.initialSetCitiesConnectedToCapitalTransients()
|
||||
|
||||
// We need to determine the GLOBAL happiness state in order to determine the city stats
|
||||
for (cityInfo in civInfo.cities) cityInfo.cityStats.updateCityHappiness(
|
||||
cityInfo.cityConstructions.getStats()
|
||||
)
|
||||
for (cityInfo in civInfo.cities) {
|
||||
cityInfo.cityStats.updateTileStats() // Some nat wonders can give happiness!
|
||||
cityInfo.cityStats.updateCityHappiness(
|
||||
cityInfo.cityConstructions.getStats()
|
||||
)
|
||||
}
|
||||
|
||||
for (cityInfo in civInfo.cities) {
|
||||
/** We remove constructions from the queue that aren't defined in the ruleset.
|
||||
|
Reference in New Issue
Block a user