mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +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;
|
||||
}
|
||||
|
||||
// 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);
|
||||
|
|
Loading…
Reference in a new issue