From e226b4721238c84600fe25dc4dd46cec16d1fa5d Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 12 Sep 2010 12:43:03 +0200 Subject: close the emote selector, chat history and the scoreboard when closing the chat, console or ingame menu. Closes #111 --- src/game/client/components/console.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game/client/components/console.cpp') 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; } } -- cgit 1.4.1