]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
sys_win: Delete sys_win and conproc. We no longer use these.
[xonotic/darkplaces.git] / netconn.c
index 1ec19fcdb7d5cc372117b67c83c1673888a6c6ac..98d26019e0cc388918e0ded10da13bf22fc925f1 100755 (executable)
--- 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)