Creating a city removes the tile improvement that was there (D'oh)

This commit is contained in:
Yair Morgenstern 2018-05-29 22:03:08 +03:00
parent 7ca7be5d70
commit 3b80cd8450

View file

@ -72,6 +72,7 @@ class UnitActions {
worldScreen.displayTutorials("CityFounded") worldScreen.displayTutorials("CityFounded")
unit.civInfo.addCity(tile.position) 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 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! tile.unit = null // Remove settler!
}, },