From bd758f0a59832877c3c9a150948326253998dcb1 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 10 Aug 2020 11:46:43 +0000 Subject: [PATCH] sv_ccmds: Remove redundant forwarding code from pause command git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12894 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_ccmds.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sv_ccmds.c b/sv_ccmds.c index 51f3eb27..e4fd309d 100644 --- a/sv_ccmds.c +++ b/sv_ccmds.c @@ -409,15 +409,7 @@ static void SV_Pause_f(cmd_state_t *cmd) { void (*print) (const char *fmt, ...); if (cmd->source == src_command) - { - // if running a client, try to send over network so the pause is handled by the server - if (cls.state == ca_connected) - { - CL_ForwardToServer_f(cmd); - return; - } print = Con_Printf; - } else print = SV_ClientPrintf; -- 2.39.2