call M_ClearMenus in D_StartTitle

This commit is contained in:
Alug committed 2025-05-06 17:08:24 +02:00
1 parent 2adffd32ea
commit a502633f76
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -3175,8 +3175,6 @@ static void Command_connect(void)
return;
}
M_ClearMenus(true);
if (Playing() || demo.title || demo.playback)
{
if (demo.title || demo.playback)
@@ -3194,6 +3192,8 @@ static void Command_connect(void)
D_StartTitle();
}
else
M_ClearMenus(true); // close the menus
// modified game check: no longer handled
// we don't request a restart unless the filelist differs
+2
View File
@@ -1016,6 +1016,8 @@ void D_StartTitle(void)
return;
}
M_ClearMenus(true);
// okay, stop now
// (otherwise the game still thinks we're playing!)
SV_StopServer();