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

@ -221,6 +221,7 @@ class CityInfo {
if(population.foodStored>=population.getFoodToNextPopulation()) {//if surplus in the granary...
population.foodStored=population.getFoodToNextPopulation()-1//...reduce below the new growth treshold
}
}
}
else population.nextTurn(stats.food)