From 583d69713d2c4cfc9c126cb66515b381063a2a05 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 11 Oct 2022 19:35:27 -0500 Subject: [PATCH] Ignore default value for name. --- XmlFormat/XmlFileWriter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XmlFormat/XmlFileWriter.cs b/XmlFormat/XmlFileWriter.cs index cb9333c..a9b26c7 100644 --- a/XmlFormat/XmlFileWriter.cs +++ b/XmlFormat/XmlFileWriter.cs @@ -193,7 +193,7 @@ namespace RobloxFiles.XmlFormat else if (a == b) isDefault = true; - if (!isDefault) + if (!isDefault || propName == "Name") { XmlNode propNode = WriteProperty(prop, doc, file);