From: Mario <mario@smbclan.net>
Date: Sat, 9 Sep 2017 22:54:28 +0000 (+1000)
Subject: Always send elo ranking cvar
X-Git-Tag: xonotic-v0.8.5~1355^2~7
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5c558ab94760ace46422aa492971b802cc9079b2;p=xonotic%2Fxonotic-data.pk3dir.git

Always send elo ranking cvar
---

diff --git a/qcsrc/common/playerstats.qc b/qcsrc/common/playerstats.qc
index cc31a8cca8..ee71d6132f 100644
--- a/qcsrc/common/playerstats.qc
+++ b/qcsrc/common/playerstats.qc
@@ -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);