[TF2] Make tf_scoreboard_mouse_mode 2 activate the mouse cursor only with right-click

As the title says, this makes the tf_scoreboard_mouse_mode 2 command activate the mouse cursor only with right-click, just like in CS2
This commit is contained in:
gaelcoral 2025-02-27 02:28:29 -08:00 committed by GitHub
parent aea94b32cb
commit e0fba4ac42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2325,7 +2325,7 @@ int CTFClientScoreBoardDialog::HudElementKeyInput( int down, ButtonCode_t keynum
if ( tf_scoreboard_mouse_mode.GetInt() == 2 )
{
if ( !m_bMouseActivated && ( keynum == MOUSE_LEFT || keynum == MOUSE_RIGHT ) )
if ( !m_bMouseActivated && ( keynum == MOUSE_RIGHT ) )
{
m_bMouseActivated = true;
InitializeInputScheme();