mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 08:22:58 +00:00
Fix playsoundsifunfocused callback
Just a minor bug. If playsoundsifunfocused was changed from "Yes" to "Yes" while the window is unfocused, then sounds would stop briefly.
This commit is contained in:
parent
eb8d03f479
commit
da60f6ac1d
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue