From: bones_was_here Date: Tue, 18 Jul 2023 03:39:47 +0000 (+1000) Subject: dedicated server: don't call CL_UpdateScreen() and SCR_BeginLoadingPlaque() X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3cc7a784230eb3a412571ab6da66280f3e5278dd;p=xonotic%2Fdarkplaces.git dedicated server: don't call CL_UpdateScreen() and SCR_BeginLoadingPlaque() --- diff --git a/host.c b/host.c index 8b64f9df..43bfb2ff 100644 --- a/host.c +++ b/host.c @@ -501,12 +501,15 @@ static void Host_Init (void) Log_Start(); - // put up the loading image so the user doesn't stare at a black screen... - SCR_BeginLoadingPlaque(true); -#ifdef CONFIG_MENU if (cls.state != ca_dedicated) + { + // put up the loading image so the user doesn't stare at a black screen... + SCR_BeginLoadingPlaque(true); +#ifdef CONFIG_MENU MR_Init(); #endif + } + // check for special benchmark mode // COMMANDLINEOPTION: Client: -benchmark runs a timedemo and quits, results of any timedemo can be found in gamedir/benchmark.log (for example id1/benchmark.log) i = Sys_CheckParm("-benchmark");