Merge pull request #363 from ninjatao/update_stats_after_acquire

After acquiring tile from nearby city, update stats.
This commit is contained in:
yairm210 2018-12-20 17:53:52 +02:00 committed by GitHub
commit 230bb0549b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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))