From f1319d4e655eb486d830e0337d9b4e25bad79ee4 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 30 Nov 2020 18:11:09 +0000 Subject: [PATCH] cl_parse: Only print if server actually disconnected git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13058 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_parse.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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: -- 2.39.2