After acquiring tile from nearby city, update stats.

This commit is contained in:
Duan Tao 2018-12-20 23:12:54 +08:00
parent 3ce89e1928
commit 23799ce80c

View File

@ -100,6 +100,7 @@ class CityExpansionManager {
cityInfo.tiles.add(tileInfo.position)
tileInfo.owningCity = cityInfo
cityInfo.population.autoAssignPopulation()
cityInfo.cityStats.update()
for(unit in tileInfo.getUnits())
if(!unit.civInfo.canEnterTiles(cityInfo.civInfo))