Fix OptionPopup should follow the "click behind to close allowed" global setting (#11444)

This commit is contained in:
SomeTroglodyte 2024-04-11 22:33:51 +02:00 committed by GitHub
parent f590d8d561
commit 6ad2fea4d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,6 +56,8 @@ class OptionsPopup(
}
init {
clickBehindToClose = true
if (settings.addCompletedTutorialTask("Open the options table"))
(screen as? WorldScreen)?.shouldUpdate = true