mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-21 20:18:28 +07:00
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:
parent
42624f5bac
commit
cb951da53e
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user