* Fixed menu cache

This commit is contained in:
Steven Barth 2008-05-05 19:59:57 +00:00
parent decdaf6736
commit 1b65106ac8

View file

@ -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