AntiNoob: last fix i promise

This commit is contained in:
dogan 2020-06-19 17:07:12 +02:00
parent 5c7c783c59
commit 5bfce17da9

View File

@ -251,7 +251,7 @@ public void CheckHumanZombieCount()
return;
int iHumanCount;
int iZombieCount;
int iZombieCount = 1;
for(int i = 1; i <= MaxClients; i++)
{
@ -265,8 +265,8 @@ public void CheckHumanZombieCount()
iZombieCount++;
}
if(iHumanCount == 0 || iZombieCount == 0)
return;
if(iHumanCount == 0)
iHumanCount = 1;
if(float(iZombieCount) / float(iHumanCount) >= g_fMidRoundRatio)
{