fixed frozen GUI caused by popups

This commit is contained in:
oy 2013-03-16 15:30:40 +01:00
parent 0914490bd9
commit 878af82d8f

View file

@ -1311,6 +1311,9 @@ int CMenus::Render()
if(DoButton_Menu(&s_Button, pButtonText, 0, &Part) || m_EscapePressed || m_EnterPressed)
m_Popup = POPUP_NONE;
}
if(m_Popup == POPUP_NONE)
UI()->SetActiveItem(0);
}
return 0;