NoAdminTools: more fixes
This commit is contained in:
parent
b89747bba0
commit
06d15e793d
@ -92,7 +92,7 @@ public void OnClientDisconnect(int client)
|
|||||||
CheckRatio();
|
CheckRatio();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnClientConnected(int client)
|
public void OnClientPutInServer(int client)
|
||||||
{
|
{
|
||||||
CheckRatio();
|
CheckRatio();
|
||||||
}
|
}
|
||||||
@ -181,7 +181,7 @@ public void CheckRatio()
|
|||||||
iSelfExtendsPlayers++;
|
iSelfExtendsPlayers++;
|
||||||
}
|
}
|
||||||
|
|
||||||
iPlayersNeeded = RoundToFloor(float(iSelfExtendsPlayers) * g_fSelfExtendsRatio);
|
iPlayersNeeded = RoundToFloor(float(iPlayers) * g_fSelfExtendsRatio);
|
||||||
|
|
||||||
if(iSelfExtendsPlayers >= iPlayersNeeded)
|
if(iSelfExtendsPlayers >= iPlayersNeeded)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user