mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
updateNumberOfFollowers _is_ called one last time after a city has been raZed to the grOund (#4892)
(cherry picked from commit dcc6ad8562a7657c21c6800ec319896e89e2f5a9)
This commit is contained in:
parent
0436e67342
commit
9cde914af5
@ -126,6 +126,7 @@ class CityInfoReligionManager {
|
||||
val oldMajorityReligion = getMajorityReligion()
|
||||
|
||||
followers.clear()
|
||||
if (cityInfo.population.population <= 0) return
|
||||
|
||||
val remainders = HashMap<String, Float>()
|
||||
val pressurePerFollower = pressures.values.sum() / cityInfo.population.population
|
||||
|
Loading…
x
Reference in New Issue
Block a user