From: z411 Date: Tue, 28 Dec 2021 02:57:28 +0000 (-0300) Subject: Disable deathscoreboard when spectacting X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=80172b81c57e09e6380e852a0ada2e18c765739c;p=xonotic%2Fxonotic-data.pk3dir.git Disable deathscoreboard when spectacting --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index d33a31a5c..dd57fa0e3 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -1635,7 +1635,7 @@ bool Scoreboard_WouldDraw() return true; else if (intermission == 2) return false; - else if (spectatee_status != -1 && STAT(HEALTH) <= 0 && autocvar_cl_deathscoreboard && !MUTATOR_CALLHOOK(DrawDeathScoreboard) + else if (!spectatee_status && STAT(HEALTH) <= 0 && autocvar_cl_deathscoreboard && !MUTATOR_CALLHOOK(DrawDeathScoreboard) && (!HUD_MinigameMenu_IsOpened() || !active_minigame)) { return true;