From cc9d8e52cd66caffc9b9afe4fa97c1d04e5b8727 Mon Sep 17 00:00:00 2001 From: zaCade Date: Sat, 24 Nov 2018 14:01:41 +0100 Subject: [PATCH] Stats: move the reset function. --- hlstatsx/scripting/hlstatsx_zr.sp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hlstatsx/scripting/hlstatsx_zr.sp b/hlstatsx/scripting/hlstatsx_zr.sp index 27284f4..01d886e 100644 --- a/hlstatsx/scripting/hlstatsx_zr.sp +++ b/hlstatsx/scripting/hlstatsx_zr.sp @@ -111,8 +111,9 @@ public void EndKillStreak(int client) Format(sEvent, sizeof(sEvent), "zr_kill_streak_%d", RoundToFloor(float(g_iKillCount[client]) / float(g_cvarStreakInterval.IntValue)) * g_cvarStreakInterval.IntValue); LogPlayerEvent(client, "triggered", sEvent); - ResetClient(client); } + + ResetClient(client); } //----------------------------------------------------------------------------------------------------