FakeClients: fix small bug

This commit is contained in:
dogan 2020-07-20 13:36:45 +02:00
parent e0a2716ecc
commit 54d3ded19b

View File

@ -107,7 +107,7 @@ public void OnMapStart()
g_bBlockInstantFakeConnects = false; g_bBlockInstantFakeConnects = false;
g_iBlockInstantFakeConnects = 0; g_iBlockInstantFakeConnects = 0;
CreateTimer(4.0, BlockInstantFakeConnects, _, TIMER_REPEAT); CreateTimer(5.0, BlockInstantFakeConnects, _, TIMER_REPEAT);
} }
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
@ -387,7 +387,7 @@ public void CheckPopulation()
} }
else else
{ {
iFakesNeeded = 4; iFakesNeeded = 5;
iFakesInTeamNeeded = 0; iFakesInTeamNeeded = 0;
} }
@ -434,7 +434,7 @@ public void CheckPopulation()
//CS_SetClientClanTag(iIndex, "UNLOZE"); //CS_SetClientClanTag(iIndex, "UNLOZE");
iFakes++; iFakes++;
if(g_iBlockInstantFakeConnects <= 5) if(g_iBlockInstantFakeConnects <= 6)
g_bBlockInstantFakeConnects = true; g_bBlockInstantFakeConnects = true;
} }