From: cloudwalk Date: Mon, 30 Nov 2020 18:11:09 +0000 (+0000) Subject: cl_parse: Only print if server actually disconnected X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f1319d4e655eb486d830e0337d9b4e25bad79ee4;p=xonotic%2Fdarkplaces.git cl_parse: Only print if server actually disconnected git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13058 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_parse.c b/cl_parse.c index 30b2d3cc..3d5274d2 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -3491,11 +3491,13 @@ void CL_ParseServerMessage(void) break; case qw_svc_disconnect: - Con_Printf("Server disconnected\n"); if (cls.demonum != -1) CL_NextDemo(); else + { + Con_Printf("Server disconnected\n"); CL_Disconnect(); + } return; case qw_svc_print: @@ -3872,11 +3874,13 @@ void CL_ParseServerMessage(void) break; case svc_disconnect: - Con_Printf ("Server disconnected\n"); if (cls.demonum != -1) CL_NextDemo (); else + { + Con_Printf ("Server disconnected\n"); CL_Disconnect (); + } break; case svc_print: