summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-04-07 02:53:36 +0200
committerAki <nthirtyone@gmail.com>2017-04-07 02:53:36 +0200
commit37767d6c54ea6af0b4631b5ce838ee584603895e (patch)
treee0dd1549c5a8f3342b36df9469660046c8c03208 /not
parent20770db3aba953585495d21bfe0a2e430485b038 (diff)
downloadroflnauts-37767d6c54ea6af0b4631b5ce838ee584603895e.zip
roflnauts-37767d6c54ea6af0b4631b5ce838ee584603895e.tar.gz
roflnauts-37767d6c54ea6af0b4631b5ce838ee584603895e.tar.bz2
Moved menu configs to subdirectory
Diffstat (limited to 'not')
-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