mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Always unmute music on refocus
If the game is paused, music will be resumed when unpause anyway.
This commit is contained in:
parent
2f7ed87530
commit
bd61f216c8
1 changed files with 1 additions and 2 deletions
|
|
@ -624,7 +624,6 @@ static void Impl_HandleWindowEvent(SDL_WindowEvent evt)
|
||||||
// Tell game we got focus back, resume music if necessary
|
// Tell game we got focus back, resume music if necessary
|
||||||
window_notinfocus = false;
|
window_notinfocus = false;
|
||||||
|
|
||||||
if (!paused)
|
|
||||||
S_InitMusicVolume();
|
S_InitMusicVolume();
|
||||||
|
|
||||||
if (cv_gamesounds.value)
|
if (cv_gamesounds.value)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue