mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 23:10:39 -04: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
@ -222,6 +222,7 @@ class CityInfo {
|
|||||||
population.foodStored=population.getFoodToNextPopulation()-1//...reduce below the new growth treshold
|
population.foodStored=population.getFoodToNextPopulation()-1//...reduce below the new growth treshold
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else population.nextTurn(stats.food)
|
else population.nextTurn(stats.food)
|
||||||
|
|
||||||
if(this in civInfo.cities) { // city was not destroyed
|
if(this in civInfo.cities) { // city was not destroyed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user