AI cities ressign population when there are better tiles that the population can work on
This commit is contained in:
parent
ba320552e2
commit
7ca7be5d70
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ class Automation {
|
|||
|
||||
for (city in civInfo.cities) {
|
||||
if (city.health < city.getMaxHealth()) trainCombatUnit(city)
|
||||
// reassign everyone from scratch
|
||||
city.workedTiles.clear()
|
||||
(0..city.population.population).forEach { city.population.autoAssignPopulation()}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue