Skip to content

Commit

Permalink
Do not display disconnected players on scoreboard
Browse files Browse the repository at this point in the history
  • Loading branch information
ec- committed Aug 1, 2017
1 parent b913be3 commit e15b282
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/cgame/cg_scoreboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ static void CG_DrawClientScore( int y, score_t *score, float *color, float fade,
}

ci = &cgs.clientinfo[score->client];
if ( !ci->infoValid )
return;

iconx = SB_BOTICON_X + (SB_RATING_WIDTH / 2);
headx = SB_HEAD_X + (SB_RATING_WIDTH / 2);
Expand Down

0 comments on commit e15b282

Please sign in to comment.