mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
stop recording on map load
This commit is contained in:
parent
fe71008a9b
commit
29ca9dfb3a
|
@ -784,6 +784,9 @@ static const char *client_load_map(const char *name, const char *filename, int w
|
||||||
return errormsg;
|
return errormsg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// stop demo recording if we loaded a new map
|
||||||
|
demorec_record_stop();
|
||||||
|
|
||||||
dbg_msg("client", "loaded map '%s'", filename);
|
dbg_msg("client", "loaded map '%s'", filename);
|
||||||
recived_snapshots = 0;
|
recived_snapshots = 0;
|
||||||
map_set(df);
|
map_set(df);
|
||||||
|
|
Loading…
Reference in a new issue