From 18ebc885a17f0093ba39c96971df38f5cebe6903 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Tue, 26 Nov 2013 01:53:34 -0500 Subject: [PATCH] Fix "joins" field --- qcsrc/common/playerstats.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/playerstats.qc b/qcsrc/common/playerstats.qc index c6f12788d..171ed75de 100644 --- a/qcsrc/common/playerstats.qc +++ b/qcsrc/common/playerstats.qc @@ -158,7 +158,7 @@ void PlayerStats_GameReport_AddGlobalInfo(entity p) if(teamplay) db_put(PS_GR_OUT_DB, sprintf("%s:_team", p.playerstats_id), ftos(p.team)); - if(stof(db_get(PS_GR_OUT_DB, sprintf("%d:%s", p.playerstats_id, PLAYERSTATS_ALIVETIME))) > 0) // fixme: not a number? + if(stof(db_get(PS_GR_OUT_DB, sprintf("%s:%s", p.playerstats_id, PLAYERSTATS_ALIVETIME))) > 0) // fixme: not a number? PS_GR_P_ADDVAL(p, PLAYERSTATS_JOINS, 1); PlayerStats_Accuracy(p); -- 2.39.2