mirror of
https://github.com/diamante0018/InfectedGSC.git
synced 2025-06-28 15:21:48 +00:00
Stop infinite loop when it should
This commit is contained in:
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user