mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-12 19:18:20 +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);
|
Client()->DummyDisconnect(0);
|
||||||
m_Popup = POPUP_NONE;
|
m_Popup = POPUP_NONE;
|
||||||
|
SetActive(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(m_Popup == POPUP_PASSWORD)
|
else if(m_Popup == POPUP_PASSWORD)
|
||||||
|
|
|
@ -83,10 +83,10 @@ void CMenus::RenderGame(CUIRect MainView)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Client()->DummyDisconnect(0);
|
Client()->DummyDisconnect(0);
|
||||||
}
|
|
||||||
}
|
|
||||||
SetActive(false);
|
SetActive(false);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ButtonBar.VSplitRight(5.0f, &ButtonBar, 0);
|
ButtonBar.VSplitRight(5.0f, &ButtonBar, 0);
|
||||||
ButtonBar.VSplitRight(140.0f, &ButtonBar, &Button);
|
ButtonBar.VSplitRight(140.0f, &ButtonBar, &Button);
|
||||||
|
|
Loading…
Reference in a new issue