mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-06 08:21:36 +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 {
|
rightSideButton.addClickListener {
|
||||||
val civInfo = UnCivGame.Current.gameInfo.getPlayerCivilization()
|
val civInfo = UnCivGame.Current.gameInfo.getPlayerCivilization()
|
||||||
civInfo.placeUnitNearTile(civInfo.cities[0].location, theChosenOne!!.name)
|
civInfo.placeUnitNearTile(civInfo.cities[0].location, theChosenOne!!.name)
|
||||||
|
civInfo.greatPeople.freeGreatPeople--
|
||||||
UnCivGame.Current.setWorldScreen()
|
UnCivGame.Current.setWorldScreen()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user