MapChooser: Change connected back to ingame.

This commit is contained in:
zaCade 2018-08-03 16:09:02 +02:00
parent b5070b4832
commit bad8090756

View File

@ -104,9 +104,9 @@ public void OnMapStart()
/* Handle late load */
for (int i=1; i<=MaxClients; i++)
{
if (IsClientConnected(i))
if (IsClientInGame(i))
{
OnClientConnected(i);
OnClientPutInServer(i);
}
}
}
@ -131,7 +131,7 @@ public void OnMapTimeLeftChanged()
SetupTimeOverTimer();
}
public void OnClientConnected(int client)
public void OnClientPutInServer(int client)
{
UpdateRTV();
}
@ -158,7 +158,7 @@ void UpdateRTV()
for (int i=1; i<=MaxClients; i++)
{
if (IsClientConnected(i) && !IsFakeClient(i))
if (IsClientInGame(i) && !IsFakeClient(i))
{
if (GetClientTeam(i) == 2 || GetClientTeam(i) == 3)
{