mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed so server stops recording when changing map
This commit is contained in:
parent
8bd49fe30b
commit
feade98dae
|
@ -988,6 +988,9 @@ static int server_load_map(const char *mapname)
|
|||
if(!df)
|
||||
return 0;
|
||||
|
||||
/* stop recording when we change map */
|
||||
demorec_record_stop();
|
||||
|
||||
/* reinit snapshot ids */
|
||||
snap_timeout_ids();
|
||||
|
||||
|
|
Loading…
Reference in a new issue