modlib.minetest.get_mod_info(): Set info.name

master
Lars Mueller 2021-08-26 20:24:21 +02:00
parent 01309a5b79
commit 2d35d5da3d
1 changed files with 3 additions and 0 deletions

View File

@ -290,6 +290,9 @@ function get_mod_info()
end
end
end
if info.name == nil then
info.name = mod
end
mod_info[mod] = info
end
return mod_info