Fix an oddity with strings (possible cause of a stats related crash)
authorMario <mario@smbclan.net>
Sat, 21 Jan 2017 21:24:15 +0000 (07:24 +1000)
committerMario <mario@smbclan.net>
Sat, 21 Jan 2017 21:24:15 +0000 (07:24 +1000)
qcsrc/common/playerstats.qc

index 74585a3..2a15b36 100644 (file)
@@ -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; }