skip auto screenshot when the editor is active. #931

This commit is contained in:
oy 2012-04-20 01:04:12 +02:00
parent 13d06e45ac
commit 5de2763f82

View file

@ -571,7 +571,7 @@ void CGameClient::OnEnterGame() {}
void CGameClient::OnGameOver()
{
if(Client()->State() != IClient::STATE_DEMOPLAYBACK)
if(Client()->State() != IClient::STATE_DEMOPLAYBACK && g_Config.m_ClEditor == 0)
Client()->AutoScreenshot_Start();
}