Save 'Remove' and 'ForceInherit' settings to disk

This commit is contained in:
AethelflaedW 2025-10-23 05:18:53 +02:00 committed by GitHub
parent a56852f918
commit 0dfaa99e9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,6 +139,8 @@ public sealed class Design : DesignBase, ISavable, IDesignStandIn
};
if (settings.Enabled)
{
obj["Remove"] = settings.Remove;
obj["Inherit"] = settings.ForceInherit;
obj["Priority"] = settings.Priority;
obj["Settings"] = JObject.FromObject(settings.Settings);
}