From 37767d6c54ea6af0b4631b5ce838ee584603895e Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 7 Apr 2017 02:53:36 +0200 Subject: Moved menu configs to subdirectory --- not/Menu.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'not') 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 -- cgit v1.1