diff options
| author | oy <Tom_Adams@web.de> | 2011-01-12 01:33:16 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-01-12 01:33:16 +0100 |
| commit | b94c70d351b1c366b20b3a87b3dacf11070b3412 (patch) | |
| tree | 3c9743470264999714b192750783b4e64f050696 /src/game/client/components | |
| parent | 3f4556a861168419a646a5f3353529c34aec1409 (diff) | |
| download | zcatch-b94c70d351b1c366b20b3a87b3dacf11070b3412.tar.gz zcatch-b94c70d351b1c366b20b3a87b3dacf11070b3412.zip | |
close the scoreboard when opening the menu in the demo player. Closes #407
Diffstat (limited to 'src/game/client/components')
| -rw-r--r-- | src/game/client/components/menus.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 257c278b..d70e0b88 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -1103,6 +1103,10 @@ void CMenus::SetActive(bool Active) m_pClient->OnRelease(); } } + else if(Client()->State() == IClient::STATE_DEMOPLAYBACK) + { + m_pClient->OnRelease(); + } } void CMenus::OnReset() |