From ecbbad45e257877a45667c94acf6a0a229b1b738 Mon Sep 17 00:00:00 2001 From: SeventhM <127357473+SeventhM@users.noreply.github.com> Date: Tue, 9 Apr 2024 13:11:57 -0700 Subject: [PATCH] Allow players to close the policy screen with free policies (#11424) --- .../com/unciv/ui/screens/pickerscreens/PolicyPickerScreen.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/com/unciv/ui/screens/pickerscreens/PolicyPickerScreen.kt b/core/src/com/unciv/ui/screens/pickerscreens/PolicyPickerScreen.kt index 48b922a42d..985b6c8f28 100644 --- a/core/src/com/unciv/ui/screens/pickerscreens/PolicyPickerScreen.kt +++ b/core/src/com/unciv/ui/screens/pickerscreens/PolicyPickerScreen.kt @@ -178,9 +178,6 @@ class PolicyPickerScreen( setDefaultCloseAction() - if (viewingCiv.isCurrentPlayer() && policies.freePolicies > 0 && policies.canAdoptPolicy()) - closeButton.disable() - rightSideButton.onClick(UncivSound.Policy) { confirmAction() }