fix bad loop condition
This commit is contained in:
parent
c2031e0af1
commit
4bd373745a
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ extend class BaseStatusBar
|
|||
y -= (BigFont.GetHeight() + 8) * CleanYfac;
|
||||
|
||||
int numTeams = 0;
|
||||
for(int i = 0; i < MAXPLAYERS; i++)
|
||||
for(int i = 0; i < sortedPlayers.Size(); i++)
|
||||
{
|
||||
PlayerInfo p = players[sortedPlayers[i]];
|
||||
if (playeringame[sortedPlayers[i]] && Team.IsValid(p.GetTeam()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue