Improved RefreshList function.

This commit is contained in:
richard 2008-10-30 22:32:59 +01:00
parent dcea61a03c
commit d8dd91c0f5
2 changed files with 1 additions and 2 deletions

View File

@ -50,7 +50,6 @@ public Action:RoundStart(Handle:event, const String:name[], bool:dontBroadcast)
tInfect = INVALID_HANDLE;
}
ZR_PrintToChat(0, "Round objective");
}

View File

@ -129,7 +129,7 @@ RefreshList()
new maxplayers = GetMaxClients();
for (new x = 1; x <= maxplayers; x++)
{
if (IsClientInGame(x))
if (IsClientInGame(x) && IsPlayerAlive(x))
{
new team = GetClientTeam(x);
if (team == CS_TEAM_T || team == CS_TEAM_CT)