From 9da754a57c7cffb4574dbbe68fdc04ec0bb9d19b Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 11 Jul 2011 17:03:27 +0300 Subject: [PATCH] Fix toggling g_vore while a vore is existent --- data/qcsrc/server/vore.qc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index db281b88..808ca3f9 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -650,12 +650,6 @@ void Vore() { // main vore code, this is where it all happens - if(!cvar("g_vore")) // the vore system is disabled - { - Vore_Disconnect(); - return; - } - Vore_AutoTaunt(); // wash the goo away from players once they leave the stomach @@ -735,6 +729,11 @@ void Vore() } // apply delays and skip the vore system under some circumstances + if(!cvar("g_vore")) // the vore system is disabled + { + Vore_Disconnect(); + return; + } if(time < game_starttime || (time < warmup && !inWarmupStage)) // don't allow vore before a round begins { Vore_Disconnect(); -- 2.39.2