]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
cleaned up edict clearing when connecting or coming back from a level change, this...
[xonotic/darkplaces.git] / netconn.c
index e06a61ad01a3d1215cd6835f3da8c9b6e6e289be..df02ca4c7b82e070af155afaefc300baacd3e836 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -1944,8 +1944,8 @@ int NetConn_SendToAll(sizebuf_t *data, double blocktime)
        do
        {
                count = 0;
-               NetConn_ClientFrame();
-               NetConn_ServerFrame();
+               // run a network frame to check for packets
+               NetConn_ClientFrame();SV_VM_Begin();NetConn_ServerFrame();SV_VM_End();
                for (i = 0, host_client = svs.clients;i < svs.maxclients;i++, host_client++)
                {
                        if (host_client->netconnection)