]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 74585a300375096e088263069ba449649ac649e1..2a15b36d187a768ee7b4e97764446a85bf9f9af2 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
        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; }
 
        if((e.crypto_idfp != "") && (e.cvar_cl_allow_uidtracking == 1))
                { s = e.crypto_idfp; }