Add start of round bell

This commit is contained in:
rubenwardy 2018-01-09 03:15:44 +00:00
parent 337009188f
commit 17ea7525cb
2 changed files with 4 additions and 0 deletions

View file

@ -15,6 +15,10 @@ ctf.register_on_init(function()
ctf._set("match.remove_player_on_leave", false) ctf._set("match.remove_player_on_leave", false)
end) end)
ctf_match.register_on_build_time_end(function()
minetest.sound_play({name="ctf_match_attack"}, { gain = 1.0 })
end)
minetest.register_on_leaveplayer(function(player) minetest.register_on_leaveplayer(function(player)
if ctf.setting("match.remove_player_on_leave") then if ctf.setting("match.remove_player_on_leave") then
ctf.remove_player(player:get_player_name()) ctf.remove_player(player:get_player_name())

Binary file not shown.