]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
We're supposed to check this value for use key ^_^
authorSamual Lenks <samual@xonotic.org>
Mon, 10 Sep 2012 07:48:44 +0000 (03:48 -0400)
committerSamual Lenks <samual@xonotic.org>
Mon, 10 Sep 2012 07:48:44 +0000 (03:48 -0400)
qcsrc/server/mutators/gamemode_ctf.qc

index f5ecce93647a14e13083bdc5357cc339f2c289f6..6bea4841c05f9a8eee603d95b299a077eea756f1 100644 (file)
@@ -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;