Remove KEY_ENTER

This commit is contained in:
Ashe 2025-11-05 22:22:24 -05:00 committed by GitHub
parent 2fb44aa53f
commit dba9c23b9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1277,7 +1277,7 @@ void CBaseHudChat::StopMessageMode( void )
//-----------------------------------------------------------------------------
void CBaseHudChat::OnKeyCodeTyped(vgui::KeyCode code )
{
if ( code == KEY_ESCAPE || code == KEY_ENTER )
if ( code == KEY_ESCAPE )
{
StopMessageMode();
return;
@ -1883,4 +1883,4 @@ void CBaseHudChat::FireGameEvent( IGameEvent *event )
ChatPrintf( player->entindex(), CHAT_FILTER_NONE, "(SourceTV) %s", event->GetString( "text" ) );
}
#endif
}
}