mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-23 21:22:39 +07:00
Don't update city stats when simulating improvement changes to see new stats!
This commit is contained in:
parent
1bc3c4de04
commit
9a70ad631e
@ -232,12 +232,10 @@ class TileInfoImprovementFunctions(val tile: Tile) {
|
||||
triggerImprovementUniques(improvementObject, civToActivateBroaderEffects, unit)
|
||||
|
||||
val city = tile.owningCity
|
||||
if (city != null) {
|
||||
if (civToActivateBroaderEffects != null && city != null) {
|
||||
city.cityStats.update()
|
||||
if (civToActivateBroaderEffects != null) {
|
||||
city.civ.cache.updateCivResources()
|
||||
city.reassignPopulationDeferred()
|
||||
}
|
||||
city.civ.cache.updateCivResources()
|
||||
city.reassignPopulationDeferred()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user