]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix bug where just connected players are forced to join the game the next round
authorterencehill <piuntn@gmail.com>
Tue, 11 Jun 2013 13:12:54 +0000 (15:12 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 11 Jun 2013 13:12:54 +0000 (15:12 +0200)
qcsrc/server/mutators/gamemode_ca.qc

index 73062837ad22db8683ad8cb81e7e7dcd77ede616..bc1e909a2ccdac89e95efdf5c01c077ffb7771ab 100644 (file)
@@ -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;