From: Rudolf Polzer Date: Wed, 23 Jan 2013 13:11:10 +0000 (+0100) Subject: fix how alivetime is queried, fixes #1383 again X-Git-Tag: xonotic-v0.7.0~121 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fdef8932fd77fd0051581e572964ca2c0b844763;p=xonotic%2Fxonotic-data.pk3dir.git fix how alivetime is queried, fixes #1383 again --- diff --git a/qcsrc/server/playerstats.qc b/qcsrc/server/playerstats.qc index dd4457f72..365115d67 100644 --- a/qcsrc/server/playerstats.qc +++ b/qcsrc/server/playerstats.qc @@ -378,7 +378,7 @@ void PlayerStats_EndMatch(float finished) if(g_arena || g_lms || g_ca) { - if(p.alivetime <= 0) + if(PlayerStats_Event(self, PLAYERSTATS_ALIVETIME, 0) <= 0) continue; } else