about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2012-04-20 01:04:12 +0200
committeroy <Tom_Adams@web.de>2013-02-24 17:27:44 +0100
commit5de2763f827d04eef2b50ddf8a228db8591ec310 (patch)
treeea1eef0202fa00e920089f722441209bf3bb1176 /src/game
parent13d06e45ac14d5f584462d0611f85a4e1dafcf17 (diff)
downloadzcatch-5de2763f827d04eef2b50ddf8a228db8591ec310.tar.gz
zcatch-5de2763f827d04eef2b50ddf8a228db8591ec310.zip
skip auto screenshot when the editor is active. #931
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/gameclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp
index 86fb5ad0..4b90d9b1 100644
--- a/src/game/client/gameclient.cpp
+++ b/src/game/client/gameclient.cpp
@@ -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();
 }