mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
skip auto screenshot when the editor is active. #931
This commit is contained in:
parent
13d06e45ac
commit
5de2763f82
|
@ -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