From 72408a21b9a598802d79a2d1845e638592ee9acb Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 29 Aug 2018 21:10:28 +0300 Subject: [PATCH] Disable the default drop sound if a custom alert is defined This may become an option in the future, but at the moment my opinion is that having both sounds only creates cacophony. --- source/appearance.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/appearance.cpp b/source/appearance.cpp index 0500aa5..cb132fd 100644 --- a/source/appearance.cpp +++ b/source/appearance.cpp @@ -53,7 +53,10 @@ void Appearance::add_lines(FilterStatement &st) const st.add_line(format("MinimapIcon %d %s %s", icon_size, icon_color, icon_shape)); if(sound_type) + { st.add_line(format("PlayAlertSound %d %d", sound_type, sound_volume)); + st.add_line("DisableDropSound"); + } if(show_beam) st.add_line(format("PlayEffect %s", beam_color)); -- 2.43.0