mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Don't deactivate menu when a popup is active
This commit is contained in:
parent
b95ad532ee
commit
9e35752d1c
|
@ -1348,6 +1348,7 @@ int CMenus::Render()
|
|||
{
|
||||
Client()->DummyDisconnect(0);
|
||||
m_Popup = POPUP_NONE;
|
||||
SetActive(false);
|
||||
}
|
||||
}
|
||||
else if(m_Popup == POPUP_PASSWORD)
|
||||
|
|
|
@ -83,10 +83,10 @@ void CMenus::RenderGame(CUIRect MainView)
|
|||
else
|
||||
{
|
||||
Client()->DummyDisconnect(0);
|
||||
}
|
||||
}
|
||||
SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ButtonBar.VSplitRight(5.0f, &ButtonBar, 0);
|
||||
ButtonBar.VSplitRight(140.0f, &ButtonBar, &Button);
|
||||
|
|
Loading…
Reference in a new issue