From 55f7964fbc1d5e6033e89e5508ec0530d8263dee Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 3 Oct 2020 14:36:38 +0200 Subject: [PATCH] fix(pause): force visibility of the main menu It make sure that the menu will be visible when the pause view is started with the character menu selected --- sonic-radiance.love/scenes/overworld/screens/mainmenu/pause.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/sonic-radiance.love/scenes/overworld/screens/mainmenu/pause.lua b/sonic-radiance.love/scenes/overworld/screens/mainmenu/pause.lua index 6ef28a7..b0bc6c1 100644 --- a/sonic-radiance.love/scenes/overworld/screens/mainmenu/pause.lua +++ b/sonic-radiance.love/scenes/overworld/screens/mainmenu/pause.lua @@ -50,6 +50,7 @@ function PauseScreen:setMenu() self.scene.menusystem.menus["character"].isLocked = true self.scene.menusystem:switchMenu(self.menuSelected) + self.scene.menusystem.menus["main"].isVisible = true if (self.widgetSelected ~= nil) then self.scene.menusystem.menus[self.menuSelected].widget.selected = self.widgetSelected end