mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
clear active motd message when the game is over
This commit is contained in:
parent
94b28c8c97
commit
02c7e3642a
|
@ -284,7 +284,7 @@ void CScoreboard::OnRender()
|
|||
return;
|
||||
|
||||
// if the score board is active, then we should clear the motd message aswell
|
||||
if(m_Active)
|
||||
if(m_pClient->m_pMotd->IsActive())
|
||||
m_pClient->m_pMotd->Clear();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue