Disable custom sounds when away_omit_alerts enabled

Closes #2012
This commit is contained in:
YuGiOhJCJ 2017-06-06 20:28:09 +02:00 committed by Patrick Griffis
parent 76430228e1
commit 2dd5f8788c

View File

@ -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])
{