fix: focus the main menu when the start menu is called

Fix #52
This commit is contained in:
Kazhnuz 2020-08-23 10:14:24 +02:00
parent 858df09143
commit aa46d3d47a

View file

@ -34,6 +34,8 @@ function PauseScreen:setMenu()
CharacterWidget(self.scene, "tails") CharacterWidget(self.scene, "tails")
CharacterWidget(self.scene, "amy") CharacterWidget(self.scene, "amy")
CharacterWidget(self.scene, "sonic") CharacterWidget(self.scene, "sonic")
self.scene.menusystem.menus["main"]:getFocus()
end end
function PauseScreen:draw() function PauseScreen:draw()