From bb1c51447c3620b193974956bc39f3f532d21ce9 Mon Sep 17 00:00:00 2001 From: Samual Date: Mon, 2 Apr 2012 02:50:22 -0400 Subject: [PATCH] Actually, re-re-think that even more --- qcsrc/server/mutators/gamemode_ctf.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index 0c3ccc841..321bf342e 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -984,10 +984,10 @@ MUTATOR_HOOKFUNCTION(ctf_PlayerUseKey) { entity player = self; - if(time > player.throw_antispam) + if((time > player.throw_antispam) && !player.speedrunning && !player.vehicle) { // pass the flag to a team mate - if(autocvar_g_ctf_pass && !player.speedrunning && !player.vehicle) + if(autocvar_g_ctf_pass) { entity head, closest_target; head = findradius(player.origin, autocvar_g_ctf_pass_radius); @@ -1030,7 +1030,7 @@ MUTATOR_HOOKFUNCTION(ctf_PlayerUseKey) } // throw the flag in front of you - if(autocvar_g_ctf_drop && player.flagcarried && !player.speedrunning) + if(autocvar_g_ctf_drop && player.flagcarried) { ctf_Handle_Throw(player, world, DROP_THROW); } } -- 2.39.2