From 4c303239abd3d762d9602608a3862cc05b0141b5 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 13 Feb 2020 16:47:10 +0100 Subject: [PATCH] Always hide Pressed Keys panel when observing, it doesn't show any pressed key anyway --- qcsrc/client/hud/panel/pressedkeys.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/hud/panel/pressedkeys.qc b/qcsrc/client/hud/panel/pressedkeys.qc index 0bf9b8dd05..3c87a1c1d5 100644 --- a/qcsrc/client/hud/panel/pressedkeys.qc +++ b/qcsrc/client/hud/panel/pressedkeys.qc @@ -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; } -- 2.39.2