fix: work around a crash in debug mode
This commit is contained in:
parent
9c4efa3512
commit
7b97b1d82a
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ function DebugMenu:addSubMenu(submenu, parent, name, panel, panelArgument)
|
||||||
local parent = parent or "BaseMenu"
|
local parent = parent or "BaseMenu"
|
||||||
self.menusystem.menus[parent]:addSubMenu(submenu, name)
|
self.menusystem.menus[parent]:addSubMenu(submenu, name)
|
||||||
if (panel ~= nil) then
|
if (panel ~= nil) then
|
||||||
self.menusystem.menus[submenu]:setPanel(panel, panelArgument)
|
--self.menusystem.menus[submenu]:setPanel(panel, panelArgument)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue