diff --git a/src/s_sound.c b/src/s_sound.c index d45a3fd7d..1c35abcce 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -2680,7 +2680,7 @@ static void PlaySoundIfUnfocused_OnChange(void) if (!cv_gamesounds.value) return; - if (window_notinfocus && cv_playsoundifunfocused.value) + if (window_notinfocus && !cv_playsoundifunfocused.value) S_StopSounds(); }