diff --git a/UndertaleModLib/Models/UndertaleFont.cs b/UndertaleModLib/Models/UndertaleFont.cs index 34a495aff..e8d5a57d2 100644 --- a/UndertaleModLib/Models/UndertaleFont.cs +++ b/UndertaleModLib/Models/UndertaleFont.cs @@ -313,7 +313,7 @@ public void Unserialize(UndertaleReader reader) // since the float is always written negated, it has the first bit set. if ((readEmSize & (1 << 31)) != 0) { - float fsize = -BitConverter.ToSingle(BitConverter.GetBytes(EmSize), 0); + float fsize = -BitConverter.ToSingle(BitConverter.GetBytes(readEmSize), 0); EmSize = fsize; EmSizeIsFloat = true; }