Skip to content

Commit e147b07

Browse files
committed
Update ExportToProject.csx
1 parent 2da183b commit e147b07

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ExportToProject.csx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -503,13 +503,13 @@ void ExportFont(UndertaleFont font)
503503
foreach (var i in font.Glyphs)
504504
{
505505
var glyphNode = new XElement("glyph");
506-
glyphNode.Add(new XElement("character", i.Character.ToString()));
507-
glyphNode.Add(new XElement("x", i.SourceX.ToString()));
508-
glyphNode.Add(new XElement("y", i.SourceY.ToString()));
509-
glyphNode.Add(new XElement("w", i.SourceWidth.ToString()));
510-
glyphNode.Add(new XElement("h", i.SourceHeight.ToString()));
511-
glyphNode.Add(new XElement("shift", i.Shift.ToString()));
512-
glyphNode.Add(new XElement("offset", i.Offset.ToString()));
506+
glyphNode.Add(new XAttribute("character", i.Character.ToString()));
507+
glyphNode.Add(new XAttribute("x", i.SourceX.ToString()));
508+
glyphNode.Add(new XAttribute("y", i.SourceY.ToString()));
509+
glyphNode.Add(new XAttribute("w", i.SourceWidth.ToString()));
510+
glyphNode.Add(new XAttribute("h", i.SourceHeight.ToString()));
511+
glyphNode.Add(new XAttribute("shift", i.Shift.ToString()));
512+
glyphNode.Add(new XAttribute("offset", i.Offset.ToString()));
513513
glyphsNode.Add(glyphNode);
514514
}
515515

0 commit comments

Comments
 (0)