diff options
Diffstat (limited to 'not/World.lua')
-rw-r--r-- | not/World.lua | 3 |
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 |