mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-23 03:23:17 -04:00
Resolved #8375 - Consider tile happiness for start-of-turn computations
This commit is contained in:
parent
d43716ea90
commit
15d8ed8f74
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user