FakeClients: keep insta connect protection even on manual manual set of fakes

This commit is contained in:
dogan 2020-08-22 22:48:34 +02:00
parent 3d43c3f627
commit bd5e2eb1c1

View File

@ -28,7 +28,7 @@ public Plugin myinfo =
name = "ImprovedHitboxes", //camouflage
author = "Neon + Dogan + Botox",
description = "Handle Hitboxes via Plugin",
version = "5.2.0",
version = "5.3.0",
url = "https://steamcommunity.com/id/n3ontm"
};
@ -366,11 +366,6 @@ public void CheckPopulation()
iFakesNeeded = 5;
iFakesInTeamNeeded = 1;
}
else if (iPlayers > 5)
{
iFakesNeeded = 5;
iFakesInTeamNeeded = 0;
}
else
{
iFakesNeeded = 5;
@ -420,8 +415,7 @@ public void CheckPopulation()
//CS_SetClientClanTag(iIndex, "UNLOZE");
iFakes++;
if(g_iAdminFakes == -1)
g_bBlockInstantFakeConnects = true;
g_bBlockInstantFakeConnects = true;
}
while (iFakes > iFakesNeeded)