diff --git a/mods/ctf_match/chat.lua b/mods/ctf_match/chat.lua index c86bb3e..1aea8aa 100644 --- a/mods/ctf_match/chat.lua +++ b/mods/ctf_match/chat.lua @@ -1,7 +1,11 @@ +minetest.register_privilege("ctf_match", { + description = "can skip matches" +}) + minetest.register_chatcommand("ctf_next", { description = "Skip to the next match", privs = { - ctf_admin = true + ctf_match = true }, func = function(name, param) ctf_match.next()