X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fcommand%2Fvote.qc;h=199e3265a8f75672ea0fe9ce53ffea1ddfb8853a;hp=059a51939d4287f5b58b0c68281bd92ce76c393f;hb=565a9526738602d1e62040b4406dc9412aaeb9ef;hpb=1e2f823dc628142f911534570b196e61eb3521f0 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)); }