From: terencehill Date: Tue, 11 Jun 2013 13:12:54 +0000 (+0200) Subject: Fix bug where just connected players are forced to join the game the next round X-Git-Tag: xonotic-v0.8.0~243^2~1^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ff156cd912245fe8711ae2cbd57ce04edeab6bee;p=xonotic%2Fxonotic-data.pk3dir.git Fix bug where just connected players are forced to join the game the next round --- diff --git a/qcsrc/server/mutators/gamemode_ca.qc b/qcsrc/server/mutators/gamemode_ca.qc index 73062837a..bc1e909a2 100644 --- a/qcsrc/server/mutators/gamemode_ca.qc +++ b/qcsrc/server/mutators/gamemode_ca.qc @@ -144,6 +144,7 @@ MUTATOR_HOOKFUNCTION(ca_PutClientInServer) if(!allowed_to_spawn) { self.classname = "observer"; + if(self.jointime != time) //not when connecting if(!self.caplayer) { self.caplayer = 0.5;