From aa46d3d47ab7da1373a3494b30c30228316222bf Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 23 Aug 2020 10:14:24 +0200 Subject: [PATCH] fix: focus the main menu when the start menu is called Fix #52 --- sonic-radiance.love/scenes/overworld/screens/mainmenu/pause.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sonic-radiance.love/scenes/overworld/screens/mainmenu/pause.lua b/sonic-radiance.love/scenes/overworld/screens/mainmenu/pause.lua index e375b53..27e9f0c 100644 --- a/sonic-radiance.love/scenes/overworld/screens/mainmenu/pause.lua +++ b/sonic-radiance.love/scenes/overworld/screens/mainmenu/pause.lua @@ -34,6 +34,8 @@ function PauseScreen:setMenu() CharacterWidget(self.scene, "tails") CharacterWidget(self.scene, "amy") CharacterWidget(self.scene, "sonic") + + self.scene.menusystem.menus["main"]:getFocus() end function PauseScreen:draw()