]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix #2519
authorMario <zacjardine@y7mail.com>
Thu, 10 Dec 2020 00:36:43 +0000 (10:36 +1000)
committerMario <zacjardine@y7mail.com>
Thu, 10 Dec 2020 00:36:43 +0000 (10:36 +1000)
qcsrc/common/playerstats.qc

index 05a6ab7975c9e0b6879c1becf5e34b35b088a0a0..d90f771617e2c0f8dc34f1d9519c07b825714747 100644 (file)
@@ -28,7 +28,7 @@ void PlayerStats_GameReport_AddPlayer(entity e)
        // set up player identification
        string s = "";
 
-       if((e.crypto_idfp != "") && (CS(e).cvar_cl_allow_uidtracking == 1))
+       if((e.crypto_idfp != "") && (CS_CVAR(e).cvar_cl_allow_uidtracking == 1))
                { s = e.crypto_idfp; }
        else if(IS_BOT_CLIENT(e))
                { s = sprintf("bot#%g#%s", skill, e.cleanname); }