From 118d12ab232ec70dfb26f7046ec4df6657df9e6a Mon Sep 17 00:00:00 2001 From: Daniel Svensson Date: Mon, 1 Apr 2024 16:33:16 +0200 Subject: [PATCH] Hide consoles when showing scores. This is the same behavior as centerprints. --- engine/client/console.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engine/client/console.c b/engine/client/console.c index 94c84af44..26a0408f1 100644 --- a/engine/client/console.c +++ b/engine/client/console.c @@ -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) {