From: Mario Date: Thu, 10 Dec 2020 00:36:43 +0000 (+1000) Subject: Fix #2519 X-Git-Tag: xonotic-v0.8.5~646 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=05cf0e6520a514761a1a5c56d049b0c61ddf492c;p=xonotic%2Fxonotic-data.pk3dir.git Fix #2519 --- diff --git a/qcsrc/common/playerstats.qc b/qcsrc/common/playerstats.qc index 05a6ab797..d90f77161 100644 --- a/qcsrc/common/playerstats.qc +++ b/qcsrc/common/playerstats.qc @@ -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); }