From b5adf08dbe0f207f727d34720b29035afbb0d8ba Mon Sep 17 00:00:00 2001 From: Duan Tao Date: Tue, 4 Dec 2018 10:48:38 +0800 Subject: [PATCH] Fix city might have negative free population after been conquered. --- core/src/com/unciv/logic/battle/Battle.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/unciv/logic/battle/Battle.kt b/core/src/com/unciv/logic/battle/Battle.kt index 85396c0d..d58f3c95 100644 --- a/core/src/com/unciv/logic/battle/Battle.kt +++ b/core/src/com/unciv/logic/battle/Battle.kt @@ -140,6 +140,7 @@ class Battle(val gameInfo:GameInfo) { city.expansion.reset() } city.moveToCiv(attacker.getCivilization()) + city.population.unassignExtraPopulation() } if(city.cityConstructions.isBuilt("Palace")){