Reverted a change from galaxy branch, which sometimes didnt unmute music playback after regaining focus of the game
Reverted https://git.do.srb2.org/Galactice/Kart-Public/-/commit/8479a7189c6393c6f3e1e6c03066f98aac617e4b
This commit is contained in:
1 parent
2f9fa5a9b7
commit
4ea094e2b9
1 file changed
+1
-2
+1
-2
@@ -637,8 +637,7 @@ static void Impl_HandleWindowEvent(SDL_WindowEvent evt)
|
||||
// Tell game we got focus back, resume music if necessary
|
||||
window_notinfocus = false;
|
||||
|
||||
if (!paused)
|
||||
S_InitMusicVolume();
|
||||
S_InitMusicVolume();
|
||||
|
||||
if (cv_gamesounds.value)
|
||||
S_EnableSound();
|
||||
|
||||
Reference in new issue
Block a user