From d8652ed510f9099b3860e13d39fd5a5438decffd Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Fri, 8 Jun 2018 13:29:31 +0300 Subject: [PATCH] Fixed bug where completing the Liberty social policy tree left you stuck in a Great Person picker screen --- core/src/com/unciv/ui/pickerscreens/GreatPersonPickerScreen.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/unciv/ui/pickerscreens/GreatPersonPickerScreen.kt b/core/src/com/unciv/ui/pickerscreens/GreatPersonPickerScreen.kt index 797b758cb9..cb1699f892 100644 --- a/core/src/com/unciv/ui/pickerscreens/GreatPersonPickerScreen.kt +++ b/core/src/com/unciv/ui/pickerscreens/GreatPersonPickerScreen.kt @@ -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() }