TODO
parent
a3bade340c
commit
65ee9ac06e
3
init.lua
3
init.lua
|
@ -334,6 +334,9 @@ minetest.register_chatcommand("gs", {
|
|||
if param[1] == "load" then
|
||||
-- TODO Mod security.
|
||||
if param[2] then
|
||||
-- TODO Check for existence of new songfile to load.
|
||||
-- If loaded from world_dir, save songs.txt there.
|
||||
-- If loaded from mod_dir, save to songs.txt there.
|
||||
if not se then
|
||||
return true, "`gen_music' is not a trusted mod."
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue