Merge pull request #650 from ninjatao/fix_conquer
Fix unassigned population when capturing city.
This commit is contained in:
commit
bafd7b2a21
1 changed files with 2 additions and 1 deletions
|
@ -188,7 +188,8 @@ class Battle(val gameInfo:GameInfo) {
|
|||
city.resistanceCounter = city.population.population
|
||||
city.workedTiles = hashSetOf() //reassign 1st working tile
|
||||
city.population.specialists.clear()
|
||||
city.population.autoAssignPopulation()
|
||||
for (i in 0..city.population.population)
|
||||
city.population.autoAssignPopulation()
|
||||
city.cityStats.update()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue