From: terencehill Date: Sat, 12 Dec 2020 12:44:11 +0000 (+0100) Subject: Fix Items Stats and Accuracy panels instantly disappearing as soon as the scoreboard... X-Git-Tag: xonotic-v0.8.5~588^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=68cd1984c5251d0a371de0aa338bd423f4d20c6c;p=xonotic%2Fxonotic-data.pk3dir.git Fix Items Stats and Accuracy panels instantly disappearing as soon as the scoreboard key is released (without fading out) if scoreboard bottom is far down --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index d877e9ba8..3f0db5526 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -1688,7 +1688,7 @@ void Scoreboard_Draw() // frametime checks allow to toggle the scoreboard even when the game is paused if(scoreboard_active) { - if (scoreboard_fade_alpha < 1) + if (scoreboard_fade_alpha == 0) scoreboard_time = time; if(hud_configure_menu_open == 1) scoreboard_fade_alpha = 1;