From: cloudwalk Date: Mon, 10 Aug 2020 11:46:43 +0000 (+0000) Subject: sv_ccmds: Remove redundant forwarding code from pause command X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bd758f0a59832877c3c9a150948326253998dcb1;p=xonotic%2Fdarkplaces.git 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 --- 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;