about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-08-15 15:48:56 +0200
committeroy <Tom_Adams@web.de>2010-08-15 15:48:56 +0200
commit02c7e3642adf7d9401c3abd192d1db0e26c1b89d (patch)
treecdb7ad7b1b029e01304f4da0f53d5e247b0e085a /src/game/client
parent94b28c8c973ea4c7c405c966038f3c2a6934ed13 (diff)
downloadzcatch-02c7e3642adf7d9401c3abd192d1db0e26c1b89d.tar.gz
zcatch-02c7e3642adf7d9401c3abd192d1db0e26c1b89d.zip
clear active motd message when the game is over
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/components/scoreboard.cpp2
1 files changed, 1 insertions, 1 deletions
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();