From 6533a728dba3552879c7961b036ad9d412ef4747 Mon Sep 17 00:00:00 2001 From: James R Date: Fri, 13 Nov 2020 17:30:23 -0800 Subject: [PATCH] Always unmute music on refocus If the game is paused, music will be resumed when unpause anyway. --- src/sdl/i_video.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 2858e9b6..ba0f7f1d 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -624,8 +624,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();