mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-06 00:09:23 +07:00
Fixed bug where completing the Liberty social policy tree left you stuck in a Great Person picker screen
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user