mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix auto reconnect abortion
This commit is contained in:
parent
25fda2751c
commit
bfcf0c4067
|
@ -1597,7 +1597,11 @@ int CMenus::Render()
|
|||
|
||||
static int s_Button = 0;
|
||||
if(DoButton_Menu(&s_Button, pButtonText, 0, &Part) || m_EscapePressed || m_EnterPressed)
|
||||
{
|
||||
if(m_Popup == POPUP_DISCONNECTED && Client()->m_ReconnectTime > 0)
|
||||
Client()->m_ReconnectTime = 0;
|
||||
m_Popup = POPUP_NONE;
|
||||
}
|
||||
}
|
||||
|
||||
if(m_Popup == POPUP_NONE)
|
||||
|
|
Loading…
Reference in a new issue