mirror of
https://github.com/appgurueu/modlib.git
synced 2024-08-20 13:24:11 +02:00
modlib.minetest.get_mod_info(): Set info.name
This commit is contained in:
parent
01309a5b79
commit
2d35d5da3d
@ -290,6 +290,9 @@ function get_mod_info()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if info.name == nil then
|
||||||
|
info.name = mod
|
||||||
|
end
|
||||||
mod_info[mod] = info
|
mod_info[mod] = info
|
||||||
end
|
end
|
||||||
return mod_info
|
return mod_info
|
||||||
|
Loading…
Reference in New Issue
Block a user