Performance: No need to calculate stats before reassigning population, since it's done there anyway

This commit is contained in:
Yair Morgenstern 2023-08-29 22:51:07 +03:00
parent 41fa29f50c
commit 713c5968b8

View File

@ -300,8 +300,7 @@ class TechManager : IsPartOfGameInfoSerialization {
updateTransientBooleans()
for (city in civInfo.cities) {
city.cityStats.update()
city.reassignPopulationDeferred()
city.reassignPopulationDeferred()
}
if (!civInfo.isSpectator() && showNotification)