diff --git a/src/game/client/hud_basechat.cpp b/src/game/client/hud_basechat.cpp index 733693d88..07723ae8d 100644 --- a/src/game/client/hud_basechat.cpp +++ b/src/game/client/hud_basechat.cpp @@ -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 -} \ No newline at end of file +}