about summary refs log tree commit diff
path: root/src/engine/client/client.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-01-06 23:21:51 +0100
committeroy <Tom_Adams@web.de>2011-01-06 23:21:51 +0100
commit41b8022aa1a941a4b2f3095dd4f8600daf4cd168 (patch)
tree5f6a37072c430f280f99de419e8fb1f27c2b496a /src/engine/client/client.cpp
parenteedaf62d97d1100bc4bd3dda50bfcd0c3763e812 (diff)
downloadzcatch-41b8022aa1a941a4b2f3095dd4f8600daf4cd168.tar.gz
zcatch-41b8022aa1a941a4b2f3095dd4f8600daf4cd168.zip
record a new demo when a game ends. Closes #358
Diffstat (limited to 'src/engine/client/client.cpp')
-rw-r--r--src/engine/client/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp
index aab6e68f..d67e3332 100644
--- a/src/engine/client/client.cpp
+++ b/src/engine/client/client.cpp
@@ -2154,6 +2154,7 @@ void CClient::DemoRecorder_HandleAutoStart()
 {
 	if(g_Config.m_ClAutoDemoRecord)
 	{
+		DemoRecorder_Stop();
 		DemoRecorder_Start("auto/autorecord", true);
 		if(g_Config.m_ClAutoDemoMax)
 		{