]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/playerstats.qc
Swap the file names back and add support for old seeker abilities -- now should be...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / playerstats.qc
index 58f251c9e97d706ea9aa2986bea9371b60d94226..c5ba3b013f63949d8d411750bf4f4627c39caaa2 100644 (file)
@@ -40,7 +40,7 @@ void PlayerStats_AddPlayer(entity e)
        if(playerstats_db < 0)
                return;
 
-       if(e.crypto_idfp != "")
+       if(e.crypto_idfp != "" && e.cvar_cl_allow_uidtracking == 1)
                e.playerstats_id = strzone(e.crypto_idfp);
        else if(clienttype(e) == CLIENTTYPE_BOT)
                e.playerstats_id = strzone(sprintf("bot#%d", e.playerid));