From: unknown Date: Thu, 25 Nov 2010 01:34:41 +0000 (-0500) Subject: TEST THIS: Remove the thinkhack from ka_RespawnBall() and just execute the function... X-Git-Tag: xonotic-v0.1.0preview~86^2~2^2~1^2~13 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e2166305fc4bf0257ce670d1c9e630b91195bee0;p=xonotic%2Fxonotic-data.pk3dir.git TEST THIS: Remove the thinkhack from ka_RespawnBall() and just execute the function again immediately if spawning failed --- diff --git a/qcsrc/server/mutators/gamemode_keepaway.qc b/qcsrc/server/mutators/gamemode_keepaway.qc index 630f101d3..410326305 100644 --- a/qcsrc/server/mutators/gamemode_keepaway.qc +++ b/qcsrc/server/mutators/gamemode_keepaway.qc @@ -87,8 +87,9 @@ void ka_RespawnBall() // runs whenever the ball needs to be relocated else { // sorry, can't spawn, better luck next frame - self.think = ka_RespawnBall; - self.nextthink = time; + //self.think = ka_RespawnBall; + //self.nextthink = time; + ka_RespawnBall(); } }