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
This commit is contained in:
parent
bad24445a7
commit
55f7964fbc
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue