From: Mario Date: Thu, 5 Feb 2015 13:14:55 +0000 (+1100) Subject: If round hasn't started, don't imprison players (possible fix for players burning... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=24f57dc19ec32bf970c9c8f6bf2e18867b1be3c5;p=xonotic%2Fxonotic-data.pk3dir.git If round hasn't started, don't imprison players (possible fix for players burning after respawn at round end) --- diff --git a/qcsrc/server/mutators/gamemode_jailbreak.qc b/qcsrc/server/mutators/gamemode_jailbreak.qc index ec92eb67c..06a141a65 100644 --- a/qcsrc/server/mutators/gamemode_jailbreak.qc +++ b/qcsrc/server/mutators/gamemode_jailbreak.qc @@ -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) {