Fix ignored mod.conf mod name for world.mt (broken by e8eaab6)
Patch supplied by @pgimeno. Thank you.
This commit is contained in:
parent
caa02f7b10
commit
24fb09eb40
|
@ -25,7 +25,7 @@ function get_mods(path,retval,modpack)
|
||||||
local toadd = {}
|
local toadd = {}
|
||||||
retval[#retval + 1] = 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
|
if mod_conf.name then
|
||||||
name = mod_conf.name
|
name = mod_conf.name
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue