summaryrefslogtreecommitdiffhomepage
path: root/not/Menu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'not/Menu.lua')
-rw-r--r--not/Menu.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/not/Menu.lua b/not/Menu.lua
index 1be6f00..8ef1861 100644
--- a/not/Menu.lua
+++ b/not/Menu.lua
@@ -63,9 +63,9 @@ function Menu:delete ()
end
function Menu:open (name)
- local name = name or "menumain"
+ local name = name or "main"
self.active = Menu.active --Menu.active is initial
- self.elements = love.filesystem.load(string.format("config/%s.lua", name))(self)
+ self.elements = love.filesystem.load(string.format("config/menus/%s.lua", name))(self)
self.elements[self.active]:focus()
end