From 1b65106ac8bab5bb840b3d282d416e160882dea4 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 5 May 2008 19:59:57 +0000 Subject: * Fixed menu cache --- core/src/ffluci/menu.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/src/ffluci/menu.lua b/core/src/ffluci/menu.lua index ed05f881d6..e55c0e76a4 100644 --- a/core/src/ffluci/menu.lua +++ b/core/src/ffluci/menu.lua @@ -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 -- cgit v1.2.3