From 7efb407872bcd8644fe97d8faff846f65190b4fe Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sat, 15 Dec 2018 09:01:00 +0100 Subject: [PATCH] Fix ignored mod.conf mod name for world.mt (broken by e8eaab6) Patch supplied by @pgimeno. Thank you. --- builtin/mainmenu/pkgmgr.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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