D_ClearState, D_StartTItle: Fix music restarting if shared between connection screen/playsim and menu

This commit is contained in:
toaster 2023-02-01 23:26:33 +00:00
parent 69484cd55a
commit fd575deb10

View file

@ -921,8 +921,6 @@ void D_ClearState(void)
{
INT32 i;
S_StopMusic();
// okay, stop now
// (otherwise the game still thinks we're playing!)
SV_StopServer();
@ -977,6 +975,7 @@ void D_ClearState(void)
//
void D_StartTitle(void)
{
S_StopMusic();
D_ClearState();
F_StartTitleScreen();
M_ClearMenus(false);