]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
If round hasn't started, don't imprison players (possible fix for players burning...
authorMario <zacjardine@y7mail.com>
Thu, 5 Feb 2015 13:14:55 +0000 (00:14 +1100)
committerMario <zacjardine@y7mail.com>
Thu, 5 Feb 2015 13:14:55 +0000 (00:14 +1100)
qcsrc/server/mutators/gamemode_jailbreak.qc

index ec92eb67cdcb6f9c3f0d0a24d3035ab360fde46e..06a141a657ca67b97a7bddb3ae81b72e87a920ec 100644 (file)
@@ -1097,7 +1097,7 @@ MUTATOR_HOOKFUNCTION(jb_PlayerSpawn)
 {
        //self.jb_isprisoned = false;
 
-       if(!round_handler_IsRoundStarted()) { return false; }
+       if(!round_handler_IsRoundStarted()) { self.jb_isprisoned = false; return false; }
 
        if(self.jb_imprisoner != world)
        {