]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
fixed problem with lost scoreboard messages to a client that is still loading
[xonotic/darkplaces.git] / sv_main.c
index b0f4f2a2eb9a9fa642d4050465aa3341d9cd0f2e..dc717643f737377f610c82df3e893ba1a7416fd1 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -1144,7 +1144,7 @@ void SV_UpdateToReliableMessages (void)
                        strcpy(host_client->old_name, host_client->name);
                        for (j = 0, client = svs.clients;j < svs.maxclients;j++, client++)
                        {
-                               if (!client->spawned || !client->netconnection)
+                               if (!client->netconnection)
                                        continue;
                                MSG_WriteByte (&client->message, svc_updatename);
                                MSG_WriteByte (&client->message, i);
@@ -1156,7 +1156,7 @@ void SV_UpdateToReliableMessages (void)
                        host_client->old_colors = host_client->colors;
                        for (j = 0, client = svs.clients;j < svs.maxclients;j++, client++)
                        {
-                               if (!client->spawned || !client->netconnection)
+                               if (!client->netconnection)
                                        continue;
                                MSG_WriteByte (&client->message, svc_updatecolors);
                                MSG_WriteByte (&client->message, i);
@@ -1168,7 +1168,7 @@ void SV_UpdateToReliableMessages (void)
                        host_client->old_frags = host_client->frags;
                        for (j = 0, client = svs.clients;j < svs.maxclients;j++, client++)
                        {
-                               if (!client->spawned || !client->netconnection)
+                               if (!client->netconnection)
                                        continue;
                                MSG_WriteByte (&client->message, svc_updatefrags);
                                MSG_WriteByte (&client->message, i);