mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-14 01:39:40 +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:

committed by
Yair Morgenstern

parent
42624f5bac
commit
cb951da53e
@ -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
|
||||
|
Reference in New Issue
Block a user