Add ctf_match priv
This commit is contained in:
parent
f93c6e416d
commit
b7dc53779e
1 changed files with 5 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue