projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f3dbf
)
Fix ignored mod.conf mod name for world.mt (broken by e8eaab6)
author
SmallJoker
<mk939@ymail.com>
Sat, 15 Dec 2018 08:01:00 +0000
(09:01 +0100)
committer
SmallJoker
<mk939@ymail.com>
Sat, 15 Dec 2018 08:01:00 +0000
(09:01 +0100)
Patch supplied by @pgimeno. Thank you.
builtin/mainmenu/pkgmgr.lua
patch
|
blob
|
history
diff --git
a/builtin/mainmenu/pkgmgr.lua
b/builtin/mainmenu/pkgmgr.lua
index 482a21e373e210301d225b254099d2956ad51012..ebd8ece6b7dee88aa8c96b4e212ee28a246c66ee 100644
(file)
--- 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