mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
fixed server side demo recording filename
This commit is contained in:
parent
c80a8b9a7e
commit
66bd7b81d9
|
@ -1227,6 +1227,8 @@ static void con_shutdown(void *result, void *user_data)
|
|||
|
||||
static void con_record(void *result, void *user_data)
|
||||
{
|
||||
char filename[512];
|
||||
str_format(filename, sizeof(filename), "demos/%s.demo", console_arg_string(result, 0));
|
||||
demorec_record_start(console_arg_string(result, 0), mods_net_version(), current_map, current_map_crc, "server");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue