Stop infinite loop when it should

This commit is contained in:
2021-10-05 22:06:08 +01:00
parent 4b0ef84b03
commit 63be0a066f

View File

@ -34,7 +34,10 @@ connected()
self waittill( "spawned_player" ); self waittill( "spawned_player" );
if ( self.pers["team"] != "allies" ) if ( self.pers["team"] != "allies" )
{
self.anti_camp = false; self.anti_camp = false;
return; // You can't go back to allies team because it's infect mode
}
} }
} }