]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - net_dgrm.c
added CVAR_SAVE and CVAR_NOTIFY flags to cvar_t structure (at the beginning), updated...
[xonotic/darkplaces.git] / net_dgrm.c
index fb7c7e7ce01cb52388b2b3735fdd84ac79e4a73f..15ac113fc0be662e22b76b65c4bb875591850d5e 100644 (file)
@@ -937,7 +937,7 @@ static qsocket_t *_Datagram_CheckNewConnections (void)
                // search for the next server cvar
                while (var)
                {
-                       if (var->server)
+                       if (var->flags & CVAR_NOTIFY)
                                break;
                        var = var->next;
                }