]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
fixed very annoying '5 second timeout' bug in Host_ShutdownServer (the local client...
[xonotic/darkplaces.git] / netconn.c
index 3226f763b34c529ae022a43aa35a641d44ea6773..3980258215ef1a75cb8dca0c3354488207946431 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -986,6 +986,7 @@ void NetConn_ClientFrame(void)
        {
                Con_Print("Connection timed out\n");
                CL_Disconnect();
+               Host_ShutdownServer (false);
        }
        for (conn = netconn_list;conn;conn = conn->next)
                NetConn_ReSendMessage(conn);