about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/engine/client/ec_client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/client/ec_client.c b/src/engine/client/ec_client.c
index 138235e8..01b0c296 100644
--- a/src/engine/client/ec_client.c
+++ b/src/engine/client/ec_client.c
@@ -784,6 +784,9 @@ static const char *client_load_map(const char *name, const char *filename, int w
 		return errormsg;
 	}
 	
+	// stop demo recording if we loaded a new map
+	demorec_record_stop();
+	
 	dbg_msg("client", "loaded map '%s'", filename);
 	recived_snapshots = 0;
 	map_set(df);