MapChooser: Change connected back to ingame.
This commit is contained in:
parent
b5070b4832
commit
bad8090756
@ -104,9 +104,9 @@ public void OnMapStart()
|
|||||||
/* Handle late load */
|
/* Handle late load */
|
||||||
for (int i=1; i<=MaxClients; i++)
|
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();
|
SetupTimeOverTimer();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnClientConnected(int client)
|
public void OnClientPutInServer(int client)
|
||||||
{
|
{
|
||||||
UpdateRTV();
|
UpdateRTV();
|
||||||
}
|
}
|
||||||
@ -158,7 +158,7 @@ void UpdateRTV()
|
|||||||
|
|
||||||
for (int i=1; i<=MaxClients; i++)
|
for (int i=1; i<=MaxClients; i++)
|
||||||
{
|
{
|
||||||
if (IsClientConnected(i) && !IsFakeClient(i))
|
if (IsClientInGame(i) && !IsFakeClient(i))
|
||||||
{
|
{
|
||||||
if (GetClientTeam(i) == 2 || GetClientTeam(i) == 3)
|
if (GetClientTeam(i) == 2 || GetClientTeam(i) == 3)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user