From 3b80cd845050c529048e078d385a98bf5fdc4f7f Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Tue, 29 May 2018 22:03:08 +0300 Subject: [PATCH] Creating a city removes the tile improvement that was there (D'oh) --- core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt b/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt index 526bdff5..9c513f71 100644 --- a/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt +++ b/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt @@ -72,6 +72,7 @@ class UnitActions { worldScreen.displayTutorials("CityFounded") unit.civInfo.addCity(tile.position) + tile.improvement=null unitTable.currentlyExecutingAction = null // In case the settler was in the middle of doing something and we then founded a city with it tile.unit = null // Remove settler! },