From 2dd5f8788c1f9c6dd93356544ad04c946bc68fff Mon Sep 17 00:00:00 2001 From: YuGiOhJCJ Date: Tue, 6 Jun 2017 20:28:09 +0200 Subject: Disable custom sounds when away_omit_alerts enabled Closes #2012 --- src/common/text.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common') diff --git a/src/common/text.c b/src/common/text.c index 48b81ea5..60a069c9 100644 --- a/src/common/text.c +++ b/src/common/text.c @@ -2194,6 +2194,9 @@ sound_play (const char *file, gboolean quiet) char *cmd; #endif + if (prefs.hex_away_omit_alerts) + return; + /* the pevents GUI editor triggers this after removing a soundfile */ if (!file[0]) { -- cgit 1.4.1