Heavy rework of the menus and now it is much better

This commit is contained in:
FlightControl
2017-05-05 10:50:12 +02:00
parent 7a84b6cc35
commit 99cbe0c8bb
5 changed files with 115 additions and 45 deletions

View File

@@ -82,7 +82,7 @@ do -- MENU_BASE
-- @param #string MenuText The text of the child menu.
-- @return #MENU_BASE
function MENU_BASE:GetMenu( MenuText )
self:F( { self.Menus, MenuText } )
self:F2( { Menu = self.Menus[MenuText] } )
return self.Menus[MenuText]
end