diff --git a/DALTools/DALLib/File/FontFile.cs b/DALTools/DALLib/File/FontFile.cs index 01e8740..da9e6eb 100644 --- a/DALTools/DALLib/File/FontFile.cs +++ b/DALTools/DALLib/File/FontFile.cs @@ -72,8 +72,11 @@ public override void Save(ExtendedBinaryWriter writer) // The amount of characters defined writer.Write(Characters.Count); // Unknown - writer.Write(WidthScale); - writer.Write(HeightScale); + if (!(WidthScale == -1 || HeightScale == -1)) + { + writer.Write(WidthScale); + writer.Write(HeightScale); + } foreach (var entry in Characters) { // Writes the character in UTF-8 in reverse byte order, Not sure why its like this