mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
skip auto screenshot when the editor is active. #931
This commit is contained in:
parent
01d771b6ec
commit
49ac19c352
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue