Add start of round bell
This commit is contained in:
parent
337009188f
commit
17ea7525cb
2 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,10 @@ ctf.register_on_init(function()
|
|||
ctf._set("match.remove_player_on_leave", false)
|
||||
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)
|
||||
if ctf.setting("match.remove_player_on_leave") then
|
||||
ctf.remove_player(player:get_player_name())
|
||||
|
|
BIN
mods/ctf_match/sounds/ctf_match_attack.ogg
Normal file
BIN
mods/ctf_match/sounds/ctf_match_attack.ogg
Normal file
Binary file not shown.
Loading…
Reference in a new issue