mirror of
https://github.com/yairm210/Unciv.git
synced 2025-10-04 09:26:16 -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.expansion.reset()
|
||||||
}
|
}
|
||||||
city.moveToCiv(attacker.getCivilization())
|
city.moveToCiv(attacker.getCivilization())
|
||||||
|
city.population.unassignExtraPopulation()
|
||||||
}
|
}
|
||||||
|
|
||||||
if(city.cityConstructions.isBuilt("Palace")){
|
if(city.cityConstructions.isBuilt("Palace")){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user