From 48ee8d8430d77aa841aadf0ac3c462e87464542a Mon Sep 17 00:00:00 2001 From: z411 Date: Wed, 28 Apr 2021 17:13:52 -0400 Subject: [PATCH] Disable item stats in duel --- qcsrc/client/hud/panel/scoreboard.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index fb1ae0569..83fa83033 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -2137,6 +2137,8 @@ bool Scoreboard_ItemStats_WouldDraw(float ypos) return false; if (!autocvar_hud_panel_scoreboard_itemstats || !g_inventory || warmup_stage || ypos > 0.91 * vid_conheight) return false; + if (gametype == MAPINFO_TYPE_DUEL) // z411 : We already show items in our duel scoreboard. + return false; if (time < scoreboard_time + autocvar_hud_panel_scoreboard_itemstats_showdelay && ypos > autocvar_hud_panel_scoreboard_itemstats_showdelay_minpos * vid_conheight -- 2.39.2