From: Rudolf Polzer Date: Fri, 1 Feb 2013 13:39:28 +0000 (+0100) Subject: oops, fix warmup X-Git-Tag: xonotic-v0.7.0~105 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b92d27accc37ff886cbd11e12c089b6871673b3e;p=xonotic%2Fxonotic-data.pk3dir.git oops, fix warmup --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 70b16e9f4..691f8621c 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -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;