Always hide Pressed Keys panel when observing, it doesn't show any pressed key anyway
authorterencehill <piuntn@gmail.com>
Thu, 13 Feb 2020 15:47:10 +0000 (16:47 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 13 Feb 2020 15:47:10 +0000 (16:47 +0100)
qcsrc/client/hud/panel/pressedkeys.qc

index 0bf9b8d..3c87a1c 100644 (file)
@@ -10,7 +10,7 @@ void HUD_PressedKeys()
 {
        if(!autocvar__hud_configure)
        {
-               if(!autocvar_hud_panel_pressedkeys) return;
+               if(!autocvar_hud_panel_pressedkeys || spectatee_status < 0) return;
                if(spectatee_status <= 0 && autocvar_hud_panel_pressedkeys < 2) return;
        }