mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
fixed stuck "error loading demo"-popup. Closes #90
This commit is contained in:
parent
551170656d
commit
67d4903b9f
|
@ -714,6 +714,9 @@ void CMenus::OnInit()
|
|||
|
||||
void CMenus::PopupMessage(const char *pTopic, const char *pBody, const char *pButton)
|
||||
{
|
||||
// reset active item
|
||||
UI()->SetActiveItem(0);
|
||||
|
||||
str_copy(m_aMessageTopic, pTopic, sizeof(m_aMessageTopic));
|
||||
str_copy(m_aMessageBody, pBody, sizeof(m_aMessageBody));
|
||||
str_copy(m_aMessageButton, pButton, sizeof(m_aMessageButton));
|
||||
|
|
Loading…
Reference in a new issue