* Fixed menu cache
This commit is contained in:
parent
decdaf6736
commit
1b65106ac8
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,7 @@ scope = {
|
|||
}
|
||||
|
||||
-- Local menu database
|
||||
local menu = {}
|
||||
local menu = nil
|
||||
|
||||
-- The current pointer
|
||||
local menuc = {}
|
||||
|
@ -119,6 +119,7 @@ end
|
|||
-- Returns the menu information
|
||||
function get()
|
||||
if not menu then
|
||||
menu = {}
|
||||
collect()
|
||||
end
|
||||
return menu
|
||||
|
|
Loading…
Reference in a new issue