mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-30 07:21:34 -04:00
Merge pull request #299 from ninjatao/fix_conquered_population
Fix : city might have negative free population after been conquered.
This commit is contained in:
commit
eba64d38ee
@ -139,6 +139,7 @@ class Battle(val gameInfo:GameInfo) {
|
||||
city.expansion.cultureStored = 0
|
||||
city.expansion.reset()
|
||||
}
|
||||
city.population.unassignExtraPopulation()
|
||||
city.moveToCiv(attacker.getCivilization())
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user