Fix city might have negative free population after been conquered.

This commit is contained in:
Duan Tao 2018-12-04 10:48:38 +08:00
parent c12906f63b
commit b5adf08dbe

View file

@ -140,6 +140,7 @@ class Battle(val gameInfo:GameInfo) {
city.expansion.reset()
}
city.moveToCiv(attacker.getCivilization())
city.population.unassignExtraPopulation()
}
if(city.cityConstructions.isBuilt("Palace")){