Skip to content

Commit

Permalink
Fix curses scoreboard not rendered with 1 player
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Jul 19, 2022
1 parent fb61930 commit 1cc7cf4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void CTerminalUI::RenderScoreboard(int Team, WINDOW *pWin)
break;
}
int height = minimum(NumRenderScoreIDs, my - 5);
if(height < 2)
if(height < 1)
return;

DrawBorders(pWin, offX, offY - 1, width, height + 2);
Expand Down

0 comments on commit 1cc7cf4

Please sign in to comment.