Skip to content

Commit

Permalink
Fix #1521.
Browse files Browse the repository at this point in the history
  • Loading branch information
VladiStep committed Nov 14, 2023
1 parent fc29c73 commit b8603b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UndertaleModLib/UndertaleIO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ public void ToHere()
if (length != expectedLength)
{
int diff = (int)expectedLength - (int)length;
Console.WriteLine("WARNING: File specified length " + expectedLength + ", but read only " + length + " (" + diff + " padding?)");
reader.SubmitMessage("WARNING: File specified length " + expectedLength + ", but read only " + length + " (" + diff + " padding?)");
if (diff > 0)
reader.Position += (uint)diff;
else
Expand Down

0 comments on commit b8603b4

Please sign in to comment.