Only schedule dvar save for archive dvars

This commit is contained in:
momo5502 2023-02-28 19:46:19 +01:00
parent baf26f5440
commit 7fdbfc2370

View File

@ -170,7 +170,7 @@ namespace dvars
{
dvar_set_variant_hook.invoke(dvar, value, source);
if (initial_config_read && dvar->debugName)
if (initial_config_read && is_archive_dvar(dvar))
{
schedule_dvar_write();
}