summaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-05 02:17:01 +0200
committerAki <nthirtyone@gmail.com>2017-09-05 02:17:01 +0200
commit7f524270713a558c0538c7d728271121928a60ec (patch)
tree076b70d117e5bc028be6b4cb9905438dd5808d88 /config
parente8c85303a138e44e1bbe7613c0e6db8d5b7c1fb6 (diff)
downloadroflnauts-7f524270713a558c0538c7d728271121928a60ec.zip
roflnauts-7f524270713a558c0538c7d728271121928a60ec.tar.gz
roflnauts-7f524270713a558c0538c7d728271121928a60ec.tar.bz2
Map config filepath is now added to map config table; used by debug mode
Diffstat (limited to 'config')
-rw-r--r--config/menus/host.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/menus/host.lua b/config/menus/host.lua
index 1ac4b0f..5595f8b 100644
--- a/config/menus/host.lua
+++ b/config/menus/host.lua
@@ -19,6 +19,7 @@ do
if love.filesystem.isFile(path) and filename ~= "readme.md" then
local map = love.filesystem.load(path)()
local i, name = map.portrait, map.name
+ map.filepath = path
if i then
table.insert(icons, love.graphics.newQuad((i-1)*76, 0, 76, 37, 532, 37))
table.insert(maps, map)