master
James Stevenson 2017-11-25 04:38:30 -05:00
parent a3bade340c
commit 65ee9ac06e
1 changed files with 3 additions and 0 deletions

View File

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