skip auto screenshot when the editor is active. #931

This commit is contained in:
oy 2012-04-20 01:04:12 +02:00
parent 01d771b6ec
commit 49ac19c352

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();
}