mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-25 21:03:15 -04: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…
x
Reference in New Issue
Block a user