From: Samual Lenks Date: Mon, 10 Sep 2012 07:48:44 +0000 (-0400) Subject: We're supposed to check this value for use key ^_^ X-Git-Tag: xonotic-v0.7.0~240^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6df768c84ccb55d40df3d4140531412cb22d3ba7;p=xonotic%2Fxonotic-data.pk3dir.git We're supposed to check this value for use key ^_^ --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index f5ecce936..6bea4841c 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -1091,7 +1091,7 @@ MUTATOR_HOOKFUNCTION(ctf_PortalTeleport) MUTATOR_HOOKFUNCTION(ctf_PlayerUseKey) { - if(gameover) { return FALSE; } + if(MUTATOR_RETURNVALUE || gameover) { return FALSE; } entity player = self;