updateNumberOfFollowers _is_ called one last time after a city has been raZed to the grOund (#4892)

This commit is contained in:
SomeTroglodyte
2021-08-17 22:24:24 +02:00
committed by GitHub
parent 8cc25a74a7
commit dcc6ad8562

View File

@ -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