Duke: Don't unpause sounds when exiting the menu back to a Game Paused state.

git-svn-id: https://svn.eduke32.com/eduke32@5880 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-10-03 02:43:57 +00:00
parent f046d6bef4
commit 6780fecfdc

View file

@ -1094,7 +1094,8 @@ void G_DisplayRest(int32_t smoothratio)
I_EscapeTriggerClear();
S_PlaySound(EXITMENUSOUND);
M_ChangeMenu(MENU_CLOSE);
S_PauseSounds(0);
if (!ud.pause_on)
S_PauseSounds(0);
}
else if ((g_player[myconnectindex].ps->gm&MODE_MENU) != MODE_MENU &&
g_player[myconnectindex].ps->newowner == -1 &&