mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
close the scoreboard when opening the menu in the demo player. Closes #407
This commit is contained in:
parent
3f4556a861
commit
b94c70d351
|
@ -1103,6 +1103,10 @@ void CMenus::SetActive(bool Active)
|
|||
m_pClient->OnRelease();
|
||||
}
|
||||
}
|
||||
else if(Client()->State() == IClient::STATE_DEMOPLAYBACK)
|
||||
{
|
||||
m_pClient->OnRelease();
|
||||
}
|
||||
}
|
||||
|
||||
void CMenus::OnReset()
|
||||
|
|
Loading…
Reference in a new issue