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

This commit is contained in:
Lars Mueller 2021-08-26 20:24:21 +02:00
parent 01309a5b79
commit 2d35d5da3d

@ -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