Always unmute music on refocus

If the game is paused, music will be resumed when unpause anyway.
This commit is contained in:
James R 2020-11-13 17:30:23 -08:00
parent 6ed14a8dba
commit 6533a728db

View file

@ -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();