From 63be0a066f89c9a940d14f8964db11ec3dc5aad5 Mon Sep 17 00:00:00 2001 From: FutureRave Date: Tue, 5 Oct 2021 22:06:08 +0100 Subject: [PATCH] Stop infinite loop when it should --- raw/scripts/_inf_anti_camp.gsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/raw/scripts/_inf_anti_camp.gsc b/raw/scripts/_inf_anti_camp.gsc index 50b8967..c3a802c 100644 --- a/raw/scripts/_inf_anti_camp.gsc +++ b/raw/scripts/_inf_anti_camp.gsc @@ -34,7 +34,10 @@ connected() self waittill( "spawned_player" ); if ( self.pers["team"] != "allies" ) + { self.anti_camp = false; + return; // You can't go back to allies team because it's infect mode + } } }