From a90bf636bf8174d2378e926d95360779d2d0576e Mon Sep 17 00:00:00 2001 From: SanyaSho Date: Wed, 10 Aug 2022 22:22:49 +0300 Subject: [PATCH] game: fix map info panel --- game/client/tf2base/vgui/tf_mapinfomenu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/game/client/tf2base/vgui/tf_mapinfomenu.h b/game/client/tf2base/vgui/tf_mapinfomenu.h index beed4511..b93e1971 100644 --- a/game/client/tf2base/vgui/tf_mapinfomenu.h +++ b/game/client/tf2base/vgui/tf_mapinfomenu.h @@ -35,6 +35,8 @@ public: virtual bool HasInputElements( void ){ return true; } virtual void ShowPanel( bool bShow ); + virtual GameActionSet_t GetPreferredActionSet() { return GAME_ACTION_SET_IN_GAME_HUD; } + // both vgui::Frame and IViewPortPanel define these, so explicitly define them here as passthroughs to vgui vgui::VPANEL GetVPanel( void ){ return BaseClass::GetVPanel(); } virtual bool IsVisible(){ return BaseClass::IsVisible(); }