From 565a9526738602d1e62040b4406dc9412aaeb9ef Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Mon, 22 Apr 2013 16:15:09 -0400 Subject: [PATCH] Reset killcount on readyrestart too --- qcsrc/server/command/vote.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index 059a51939..199e3265a 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -348,10 +348,11 @@ void ReadyRestart_force() game_starttime = time; if(!g_ca && !g_arena) { game_starttime += RESTART_COUNTDOWN; } - // clear alivetime + // clear player attributes FOR_EACH_CLIENT(tmp_player) { tmp_player.alivetime = 0; + tmp_player.killcount = 0; PlayerStats_Event(tmp_player, PLAYERSTATS_ALIVETIME, -PlayerStats_Event(tmp_player, PLAYERSTATS_ALIVETIME, 0)); } -- 2.39.2