diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 7746164c6..dee7a467d 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -1605,7 +1605,7 @@ int CMenus::Render() Part.VMargin(120.0f, &Part); static int s_Button = 0; - if(DoButton_Menu(&s_Button, pButtonText, 0, &Part) || m_EscapePressed || m_EnterPressed) + if(DoButton_Menu(&s_Button, pButtonText, 0, &Part) || m_EscapePressed || (m_EnterPressed && m_Popup != POPUP_CONNECTING)) { Client()->Disconnect(); m_Popup = POPUP_NONE;