]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix how alivetime is queried, fixes #1383 again
authorRudolf Polzer <divverent@xonotic.org>
Wed, 23 Jan 2013 13:11:10 +0000 (14:11 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 23 Jan 2013 13:11:10 +0000 (14:11 +0100)
qcsrc/server/playerstats.qc

index dd4457f7282e9d622a1b666bf11a93df4c992c9d..365115d674a5103f8766b5fa05bea647ac67660f 100644 (file)
@@ -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