]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
in X11, keypad * is KP_MULTIPLY, not '*'
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index b81f181c5f818272a56879bc1d3670a2d4a9a357..455f55d5b4e9b5093a8df0fe1d8635e28af9bd2b 100644 (file)
--- a/host.c
+++ b/host.c
@@ -435,9 +435,9 @@ void SV_DropClient(qboolean crash)
                        buf.data = bufdata;
                        buf.maxsize = sizeof(bufdata);
                        MSG_WriteByte(&buf, svc_disconnect);
-                       NetConn_SendUnreliableMessage(host_client->netconnection, &buf, sv.protocol);
-                       NetConn_SendUnreliableMessage(host_client->netconnection, &buf, sv.protocol);
-                       NetConn_SendUnreliableMessage(host_client->netconnection, &buf, sv.protocol);
+                       NetConn_SendUnreliableMessage(host_client->netconnection, &buf, sv.protocol, 10000);
+                       NetConn_SendUnreliableMessage(host_client->netconnection, &buf, sv.protocol, 10000);
+                       NetConn_SendUnreliableMessage(host_client->netconnection, &buf, sv.protocol, 10000);
                }
                // break the net connection
                NetConn_Close(host_client->netconnection);
@@ -731,14 +731,14 @@ void Host_Main(void)
                                if (sv.frametime)
                                        SV_Physics();
 
-                               // send all messages to the clients
-                               SV_SendClientMessages();
-
                                // if this server frame took too long, break out of the loop
                                if (framelimit > 1 && Sys_DoubleTime() >= aborttime)
                                        break;
                        }
 
+                       // send all messages to the clients
+                       SV_SendClientMessages();
+
                        // end the server VM frame
                        SV_VM_End();