Don't deactivate menu when a popup is active

This commit is contained in:
Learath 2020-09-05 18:13:32 +03:00
parent b95ad532ee
commit 9e35752d1c
2 changed files with 3 additions and 2 deletions

View file

@ -1348,6 +1348,7 @@ int CMenus::Render()
{
Client()->DummyDisconnect(0);
m_Popup = POPUP_NONE;
SetActive(false);
}
}
else if(m_Popup == POPUP_PASSWORD)

View file

@ -83,9 +83,9 @@ void CMenus::RenderGame(CUIRect MainView)
else
{
Client()->DummyDisconnect(0);
SetActive(false);
}
}
SetActive(false);
}
ButtonBar.VSplitRight(5.0f, &ButtonBar, 0);