]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix Items Stats and Accuracy panels instantly disappearing as soon as the scoreboard...
authorterencehill <piuntn@gmail.com>
Sat, 12 Dec 2020 12:44:11 +0000 (13:44 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 12 Dec 2020 15:53:33 +0000 (16:53 +0100)
qcsrc/client/hud/panel/scoreboard.qc

index d877e9ba839b30eb0cfc9c0a5b5b97bb991e22a9..3f0db5526235c9bc7ddc980bad18d86b69c5e58f 100644 (file)
@@ -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;