From 1b8d7b1541ccab0d796043e4596812b4ee79f4f6 Mon Sep 17 00:00:00 2001 From: Indev Date: Fri, 16 Jan 2026 11:11:36 +0300 Subject: [PATCH] I_Error when dedi tries to go to main error This will not fix the issue entirely but will at least prevent server getting stuck and backtrace will show where did it try to go into menu from --- src/d_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/d_main.c b/src/d_main.c index 3e474cec3..81fd3d830 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -946,6 +946,9 @@ void D_ClearState(void) // void D_StartTitle(void) { + if (dedicated) + I_Error("D_StartTitle is called on dedicated server"); + D_ClearState(); multiplayer = netgame = false; // title menu shouldnt be a netgame or multiplayer lmao F_StartTitleScreen();