Skip to content

Commit

Permalink
Hide consoles when showing scores.
Browse files Browse the repository at this point in the history
This is the same behavior as centerprints.
  • Loading branch information
dsvensson committed Apr 6, 2024
1 parent b7963e6 commit 118d12a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions engine/client/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -1800,6 +1800,12 @@ void Con_DrawNotify (void)
{
extern int startuppending;
console_t *con;
int pnum;

for (pnum = 0; pnum < cl.splitclients; pnum++) {
if (cl.playerview[pnum].sb_showscores || cl.playerview[pnum].sb_showteamscores)
return;
}

if (con_main)
{
Expand Down

0 comments on commit 118d12a

Please sign in to comment.