]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Always send elo ranking cvar
authorMario <mario@smbclan.net>
Sat, 9 Sep 2017 22:54:28 +0000 (08:54 +1000)
committerMario <mario@smbclan.net>
Sat, 9 Sep 2017 22:54:28 +0000 (08:54 +1000)
qcsrc/common/playerstats.qc

index cc31a8cca83ec5e06f51f9b6d9fdc97a0a904272..ee71d6132f0f1fc34fe40b2023f843bb48505e5e 100644 (file)
@@ -152,8 +152,7 @@ void PlayerStats_GameReport_FinalizePlayer(entity p)
                        if(latency) { PS_GR_P_ADDVAL(p, PLAYERSTATS_AVGLATENCY, latency); }
                }
 
-               if(CS(p).cvar_cl_allow_eloranking)
-                       db_put(PS_GR_OUT_DB, sprintf("%s:_elo", p.playerstats_id), ftos(CS(p).cvar_cl_allow_eloranking));
+               db_put(PS_GR_OUT_DB, sprintf("%s:_elo", p.playerstats_id), ftos(CS(p).cvar_cl_allow_eloranking));
        }
 
        strunzone(p.playerstats_id);