diff --git a/mods/ctf_match/init.lua b/mods/ctf_match/init.lua index 4ac8c2f..4ed46c4 100644 --- a/mods/ctf_match/init.lua +++ b/mods/ctf_match/init.lua @@ -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()) diff --git a/mods/ctf_match/sounds/ctf_match_attack.ogg b/mods/ctf_match/sounds/ctf_match_attack.ogg new file mode 100644 index 0000000..251fe59 Binary files /dev/null and b/mods/ctf_match/sounds/ctf_match_attack.ogg differ