mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-24 18:06:04 +07:00
Allow players to close the policy screen with free policies (#11424)
This commit is contained in:
parent
b8706c1330
commit
ecbbad45e2
@ -178,9 +178,6 @@ class PolicyPickerScreen(
|
|||||||
|
|
||||||
setDefaultCloseAction()
|
setDefaultCloseAction()
|
||||||
|
|
||||||
if (viewingCiv.isCurrentPlayer() && policies.freePolicies > 0 && policies.canAdoptPolicy())
|
|
||||||
closeButton.disable()
|
|
||||||
|
|
||||||
rightSideButton.onClick(UncivSound.Policy) {
|
rightSideButton.onClick(UncivSound.Policy) {
|
||||||
confirmAction()
|
confirmAction()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user