From 02c7e3642adf7d9401c3abd192d1db0e26c1b89d Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 15 Aug 2010 15:48:56 +0200 Subject: clear active motd message when the game is over --- src/game/client/components/scoreboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/client/components/scoreboard.cpp') diff --git a/src/game/client/components/scoreboard.cpp b/src/game/client/components/scoreboard.cpp index 9558c840..27e577e8 100644 --- a/src/game/client/components/scoreboard.cpp +++ b/src/game/client/components/scoreboard.cpp @@ -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(); -- cgit 1.4.1