FakeClients: no insta connect on mapswitch either

+ no fake in team before 10 players
This commit is contained in:
Dogan 2019-11-08 02:22:28 +01:00
parent c89e451dea
commit 40efb8311f

View File

@ -77,6 +77,10 @@ public void OnPluginEnd()
public void OnMapStart()
{
g_bMapEnded = false;
g_bBlockInstantFakeConnects = false;
g_iBlockInstantFakeConnects = 0;
CreateTimer(4.0, BlockInstantFakeConnects, _, TIMER_REPEAT);
}
//----------------------------------------------------------------------------------------------------
@ -347,7 +351,7 @@ public void CheckPopulation()
else if (iPlayers > 5)
{
iFakesNeeded = 4;
iFakesInTeamNeeded = 1;
iFakesInTeamNeeded = 0;
}
else
{