From: terencehill Date: Thu, 13 Feb 2020 15:47:10 +0000 (+0100) Subject: Always hide Pressed Keys panel when observing, it doesn't show any pressed key anyway X-Git-Tag: xonotic-v0.8.5~1145^2~10^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4c303239abd3d762d9602608a3862cc05b0141b5;p=xonotic%2Fxonotic-data.pk3dir.git Always hide Pressed Keys panel when observing, it doesn't show any pressed key anyway --- diff --git a/qcsrc/client/hud/panel/pressedkeys.qc b/qcsrc/client/hud/panel/pressedkeys.qc index 0bf9b8dd0..3c87a1c1d 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; }