Fixed bug where completing the Liberty social policy tree left you stuck in a Great Person picker screen

This commit is contained in:
Yair Morgenstern 2018-06-08 13:29:31 +03:00
parent c3e0d6ac2c
commit d8652ed510

View file

@ -33,6 +33,7 @@ class GreatPersonPickerScreen : PickerScreen() {
rightSideButton.addClickListener {
val civInfo = UnCivGame.Current.gameInfo.getPlayerCivilization()
civInfo.placeUnitNearTile(civInfo.cities[0].location, theChosenOne!!.name)
civInfo.greatPeople.freeGreatPeople--
UnCivGame.Current.setWorldScreen()
}