summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-04-07 03:06:26 +0200
committerAki <nthirtyone@gmail.com>2017-04-07 03:06:26 +0200
commit54e85dd188af15cd5f3f5e08f5d3e69088a909b1 (patch)
tree7d188fd4142d8690321df69281ce8d5c55fbfa2b /not
parent37767d6c54ea6af0b4631b5ce838ee584603895e (diff)
downloadroflnauts-54e85dd188af15cd5f3f5e08f5d3e69088a909b1.zip
roflnauts-54e85dd188af15cd5f3f5e08f5d3e69088a909b1.tar.gz
roflnauts-54e85dd188af15cd5f3f5e08f5d3e69088a909b1.tar.bz2
Moved map configs to config directory
Diffstat (limited to 'not')
-rw-r--r--not/World.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/not/World.lua b/not/World.lua
index 2a6106c..bbceec4 100644
--- a/not/World.lua
+++ b/not/World.lua
@@ -79,8 +79,7 @@ end
-- TODO: Change current map model to function-based one.
function World:loadMap (name)
local name = name or "default"
- name = "maps/" .. name .. ".lua"
- local map = love.filesystem.load(name)
+ local map = love.filesystem.load(string.format("config/maps/%s.lua", name))
self.map = map()
-- Platforms
for _,platform in pairs(self.map.platforms) do