NoAdminTools: more fixes

This commit is contained in:
Dogan 2019-06-16 00:13:49 +02:00
parent c76fd07291
commit de3bd25cb8

View File

@ -92,7 +92,7 @@ public void OnClientDisconnect(int client)
CheckRatio();
}
public void OnClientConnected(int client)
public void OnClientPutInServer(int client)
{
CheckRatio();
}
@ -181,7 +181,7 @@ public void CheckRatio()
iSelfExtendsPlayers++;
}
iPlayersNeeded = RoundToFloor(float(iSelfExtendsPlayers) * g_fSelfExtendsRatio);
iPlayersNeeded = RoundToFloor(float(iPlayers) * g_fSelfExtendsRatio);
if(iSelfExtendsPlayers >= iPlayersNeeded)
{