From: Mario Date: Mon, 11 Sep 2017 13:52:45 +0000 (+1000) Subject: Change the internal database value name to _ranked X-Git-Tag: xonotic-v0.8.5~1355^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ad968484aff56d9765a62a9428b99b6e0a508ac5;p=xonotic%2Fxonotic-data.pk3dir.git Change the internal database value name to _ranked --- diff --git a/qcsrc/common/playerstats.qc b/qcsrc/common/playerstats.qc index d8de259e5..3da67ca7c 100644 --- a/qcsrc/common/playerstats.qc +++ b/qcsrc/common/playerstats.qc @@ -152,7 +152,7 @@ void PlayerStats_GameReport_FinalizePlayer(entity p) if(latency) { PS_GR_P_ADDVAL(p, PLAYERSTATS_AVGLATENCY, latency); } } - db_put(PS_GR_OUT_DB, sprintf("%s:_elo", p.playerstats_id), ftos(CS(p).cvar_cl_allow_uidranking)); + db_put(PS_GR_OUT_DB, sprintf("%s:_ranked", p.playerstats_id), ftos(CS(p).cvar_cl_allow_uidranking)); } strunzone(p.playerstats_id); @@ -378,7 +378,7 @@ void PlayerStats_GameReport_Handler(entity fh, entity pass, float status) } // elo ranking enabled - nn = db_get(PS_GR_OUT_DB, sprintf("%s:_elo", p)); + nn = db_get(PS_GR_OUT_DB, sprintf("%s:_ranked", p)); if(nn != "") { url_fputs(fh, sprintf("r %s\n", nn)); } // output player events