Fix negative turnsToNewPopulation while razing

missing bracket, sorry I will never compile any programmes in my life, I will never learn Kotlin and will have a happy life. I wrote it by hand in the textarea on github.com 😎
This commit is contained in:
Am-per-Sand
2019-04-23 18:07:43 +02:00
committed by Yair Morgenstern
parent 42624f5bac
commit cb951da53e

View File

@ -222,6 +222,7 @@ class CityInfo {
population.foodStored=population.getFoodToNextPopulation()-1//...reduce below the new growth treshold
}
}
}
else population.nextTurn(stats.food)
if(this in civInfo.cities) { // city was not destroyed