about summary refs log tree commit diff
path: root/src/game/client/components/console.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-09-12 12:43:03 +0200
committeroy <Tom_Adams@web.de>2010-09-12 12:43:03 +0200
commite226b4721238c84600fe25dc4dd46cec16d1fa5d (patch)
treeee577e0a9535d38dc434af5848ef28ef58d88b8d /src/game/client/components/console.cpp
parentd913af1ab2d383832a49ed6a4460523f80b8337d (diff)
downloadzcatch-e226b4721238c84600fe25dc4dd46cec16d1fa5d.tar.gz
zcatch-e226b4721238c84600fe25dc4dd46cec16d1fa5d.zip
close the emote selector, chat history and the scoreboard when closing the chat, console or ingame menu. Closes #111
Diffstat (limited to 'src/game/client/components/console.cpp')
-rw-r--r--src/game/client/components/console.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp
index cb8c31ce..cdf4239a 100644
--- a/src/game/client/components/console.cpp
+++ b/src/game/client/components/console.cpp
@@ -565,6 +565,7 @@ void CGameConsole::Toggle(int Type)
 		{
 			Input()->MouseModeRelative();
 			m_pClient->m_pMenus->UseMouseButtons(true);
+			m_pClient->OnRelease();
 			m_ConsoleState = CONSOLE_CLOSING;
 		}
 	}