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);
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();