From 0c7d50b38af1a4d491bfb629c6aaac030711c8cb Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 6 May 2025 17:08:24 +0200 Subject: [PATCH] call M_ClearMenus in D_StartTitle --- src/d_clisrv.c | 4 ++-- src/d_main.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 83e68a944..6b496c0e7 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -3156,8 +3156,6 @@ static void Command_connect(void) return; } - M_ClearMenus(true); - if (Playing() || demo.title || demo.playback) { if (demo.title || demo.playback) @@ -3175,6 +3173,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 diff --git a/src/d_main.c b/src/d_main.c index 8aff70d97..6bd8b13f1 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -956,6 +956,8 @@ void D_StartTitle(void) return; } + M_ClearMenus(true); + // okay, stop now // (otherwise the game still thinks we're playing!) SV_StopServer();