From efef41541c7007b6361ef45b06dc16ce80959a6b Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Wed, 25 Jul 2018 23:05:21 +0300 Subject: [PATCH] Razed cities do not grow --- core/src/com/unciv/logic/city/CityInfo.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/city/CityInfo.kt b/core/src/com/unciv/logic/city/CityInfo.kt index 53486461..175a66ad 100644 --- a/core/src/com/unciv/logic/city/CityInfo.kt +++ b/core/src/com/unciv/logic/city/CityInfo.kt @@ -129,7 +129,7 @@ class CityInfo { stats.food = 0f } - population.nextTurn(stats.food) + cityConstructions.nextTurn(stats) expansion.nextTurn(stats.culture) if(isBeingRazed){ @@ -141,6 +141,7 @@ class CityInfo { civInfo.cities.first().cityConstructions.builtBuildings.add("Palace") } } + else population.nextTurn(stats.food) health = min(health+20, getMaxHealth()) population.unassignExtraPopulation()