Add ctf_match priv

This commit is contained in:
rubenwardy 2015-12-07 23:54:22 +00:00
parent f93c6e416d
commit b7dc53779e

View file

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