]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
oops, fix warmup
authorRudolf Polzer <divverent@xonotic.org>
Fri, 1 Feb 2013 13:39:28 +0000 (14:39 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 1 Feb 2013 13:39:28 +0000 (14:39 +0100)
qcsrc/server/cl_client.qc

index 70b16e9f4653938f67fd1f7698ed7bc42bf9b7c8..691f8621c6f8b35b14c5f80b0057a248fb720aff 100644 (file)
@@ -410,7 +410,7 @@ void PutObserverInServer (void)
        
        if(self.alivetime)
        {
-               if(!g_warmup)
+               if(!inWarmupStage)
                        PlayerStats_Event(self, PLAYERSTATS_ALIVETIME, time - self.alivetime);
                self.alivetime = 0;
        }
@@ -923,7 +923,7 @@ void PutClientInServer (void)
                self.weaponname = "";
                self.switchingweapon = 0;
 
-               if(!g_warmup)
+               if(!inWarmupStage)
                        if(!self.alivetime)
                                self.alivetime = time;