mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-05 21:11:35 +07:00
Performance: No need to calculate stats before reassigning population, since it's done there anyway
This commit is contained in:
parent
41fa29f50c
commit
713c5968b8
@ -300,8 +300,7 @@ class TechManager : IsPartOfGameInfoSerialization {
|
|||||||
|
|
||||||
updateTransientBooleans()
|
updateTransientBooleans()
|
||||||
for (city in civInfo.cities) {
|
for (city in civInfo.cities) {
|
||||||
city.cityStats.update()
|
city.reassignPopulationDeferred()
|
||||||
city.reassignPopulationDeferred()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!civInfo.isSpectator() && showNotification)
|
if (!civInfo.isSpectator() && showNotification)
|
||||||
|
Loading…
Reference in New Issue
Block a user