Merge pull request #363 from ninjatao/update_stats_after_acquire
After acquiring tile from nearby city, update stats.
This commit is contained in:
commit
230bb0549b
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ class CityExpansionManager {
|
||||||
cityInfo.tiles.add(tileInfo.position)
|
cityInfo.tiles.add(tileInfo.position)
|
||||||
tileInfo.owningCity = cityInfo
|
tileInfo.owningCity = cityInfo
|
||||||
cityInfo.population.autoAssignPopulation()
|
cityInfo.population.autoAssignPopulation()
|
||||||
|
cityInfo.cityStats.update()
|
||||||
|
|
||||||
for(unit in tileInfo.getUnits())
|
for(unit in tileInfo.getUnits())
|
||||||
if(!unit.civInfo.canEnterTiles(cityInfo.civInfo))
|
if(!unit.civInfo.canEnterTiles(cityInfo.civInfo))
|
||||||
|
|
Loading…
Reference in a new issue