X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=netconn.c;h=98d26019e0cc388918e0ded10da13bf22fc925f1;hp=1ec19fcdb7d5cc372117b67c83c1673888a6c6ac;hb=2f5dfa4708db4112f682b31146a8db1d456a0482;hpb=c9c011dcf7b2ee062e9493139b89fff99f63ea25 diff --git a/netconn.c b/netconn.c index 1ec19fcd..98d26019 100755 --- a/netconn.c +++ b/netconn.c @@ -2488,10 +2488,7 @@ void NetConn_ClientFrame(void) NetConn_QueryQueueFrame(); #endif if (cls.netcon && host.realtime > cls.netcon->timeout && !sv.active) - { - Con_Print("Connection timed out\n"); - CL_Disconnect(); - } + CL_DisconnectEx(true, "Connection timed out"); } static void NetConn_BuildChallengeString(char *buffer, int bufferlength)