aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2018-12-15 09:01:00 +0100
committerSmallJoker <mk939@ymail.com>2018-12-15 09:01:00 +0100
commit7efb407872bcd8644fe97d8faff846f65190b4fe (patch)
tree6888720d5bef3fc6273838da16d773b8f82c54fd
parent05f3dbfa68ca370ff092998be246a3a85360aa93 (diff)
downloadminetest-7efb407872bcd8644fe97d8faff846f65190b4fe.tar.gz
minetest-7efb407872bcd8644fe97d8faff846f65190b4fe.tar.bz2
minetest-7efb407872bcd8644fe97d8faff846f65190b4fe.zip
Fix ignored mod.conf mod name for world.mt (broken by e8eaab6)
Patch supplied by @pgimeno. Thank you.
-rw-r--r--builtin/mainmenu/pkgmgr.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua
index 482a21e37..ebd8ece6b 100644
--- a/builtin/mainmenu/pkgmgr.lua
+++ b/builtin/mainmenu/pkgmgr.lua
@@ -25,7 +25,7 @@ function get_mods(path,retval,modpack)
local toadd = {}
retval[#retval + 1] = toadd
- local mod_conf = Settings(prefix .. "mod.conf"):to_table()
+ local mod_conf = Settings(prefix .. DIR_DELIM .. "mod.conf"):to_table()
if mod_conf.name then
name = mod_conf.name
end