Add ctf_start command to skip build time
This commit is contained in:
parent
57fd0b744e
commit
534ea96a2d
1 changed files with 11 additions and 0 deletions
|
@ -12,6 +12,17 @@ minetest.register_chatcommand("ctf_next", {
|
|||
end
|
||||
})
|
||||
|
||||
minetest.register_chatcommand("ctf_start", {
|
||||
description = "End build time",
|
||||
privs = {
|
||||
ctf_match = true
|
||||
},
|
||||
func = function(name, param)
|
||||
ctf_match.build_timer = 0.01
|
||||
end
|
||||
})
|
||||
|
||||
|
||||
minetest.register_chatcommand("ctf_respawn", {
|
||||
description = "Respawn a player (clean inv, send to base)",
|
||||
privs = {
|
||||
|
|
Loading…
Reference in a new issue