Merge pull request #299 from ninjatao/fix_conquered_population

Fix : city might have negative free population after been conquered.
This commit is contained in:
yairm210 2018-12-04 12:32:25 +02:00 committed by GitHub
commit eba64d38ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,6 +139,7 @@ class Battle(val gameInfo:GameInfo) {
city.expansion.cultureStored = 0
city.expansion.reset()
}
city.population.unassignExtraPopulation()
city.moveToCiv(attacker.getCivilization())
}