mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix escape not working in server browser and demo browser
Closes #6718.
This commit is contained in:
parent
632b6216be
commit
a3abc27b9a
|
@ -1769,7 +1769,7 @@ int CMenus::Render()
|
|||
UI()->RenderPopupMenus();
|
||||
|
||||
// Handle this escape hotkey after popup menus
|
||||
if(m_MenuPage == PAGE_SETTINGS && !m_ShowStart && Client()->State() == IClient::STATE_OFFLINE && UI()->ConsumeHotkey(CUI::HOTKEY_ESCAPE))
|
||||
if(!m_ShowStart && Client()->State() == IClient::STATE_OFFLINE && UI()->ConsumeHotkey(CUI::HOTKEY_ESCAPE))
|
||||
{
|
||||
m_ShowStart = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue