]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
Adding GAME_XONOTIC and recognizing xonotic executable names
[xonotic/darkplaces.git] / sv_main.c
index 7e5ebb31726f44b81ec3d7185ec30494526d1d73..bb2722318dd929e8fbb822307c8e92673b41307f 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -2395,7 +2395,7 @@ static void SV_UpdateToReliableMessages (void)
 
                // frags
                host_client->frags = (int)host_client->edict->fields.server->frags;
-               if(gamemode == GAME_NEXUIZ)
+               if(gamemode == GAME_NEXUIZ || gamemode == GAME_XONOTIC)
                        if(!host_client->spawned && host_client->netconnection)
                                host_client->frags = -666;
                if (host_client->old_frags != host_client->frags)