From: Mario Date: Sat, 21 Jan 2017 21:24:15 +0000 (+1000) Subject: Fix an oddity with strings (possible cause of a stats related crash) X-Git-Tag: xonotic-v0.8.2~277 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e137b61382d3a40c6d49be8c8c27506cfe6ad7aa;p=xonotic%2Fxonotic-data.pk3dir.git Fix an oddity with strings (possible cause of a stats related crash) --- diff --git a/qcsrc/common/playerstats.qc b/qcsrc/common/playerstats.qc index 74585a300..2a15b36d1 100644 --- a/qcsrc/common/playerstats.qc +++ b/qcsrc/common/playerstats.qc @@ -22,7 +22,7 @@ void PlayerStats_GameReport_AddPlayer(entity e) if((PS_GR_OUT_DB < 0) || (e.playerstats_id)) { return; } // set up player identification - string s = string_null; + string s = ""; if((e.crypto_idfp != "") && (e.cvar_cl_allow_uidtracking == 1)) { s = e.crypto_idfp; }