mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 15:01:09 -04:00
Fix city might have negative free population after been conquered.
This commit is contained in:
parent
c12906f63b
commit
b5adf08dbe
@ -140,6 +140,7 @@ class Battle(val gameInfo:GameInfo) {
|
||||
city.expansion.reset()
|
||||
}
|
||||
city.moveToCiv(attacker.getCivilization())
|
||||
city.population.unassignExtraPopulation()
|
||||
}
|
||||
|
||||
if(city.cityConstructions.isBuilt("Palace")){
|
||||
|
Loading…
x
Reference in New Issue
Block a user