Add ctf_start command to skip build time

This commit is contained in:
rubenwardy 2017-10-12 17:19:08 +01:00
parent 57fd0b744e
commit 534ea96a2d

View file

@ -12,6 +12,17 @@ minetest.register_chatcommand("ctf_next", {
end 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", { minetest.register_chatcommand("ctf_respawn", {
description = "Respawn a player (clean inv, send to base)", description = "Respawn a player (clean inv, send to base)",
privs = { privs = {