Skip to content

Commit

Permalink
Merge branch 'EPD-Libraries:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchLeaders authored Jun 28, 2024
2 parents 1c52e10 + 3f76a07 commit f1bdefe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BymlLibrary/Writers/BymlWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void WriteNode(Byml byml)
Writer.Seek(offset);

if (node.Value is (byte[] _, int alignment)) {
currentPosition += currentPosition.AlignUp(alignment) - 8;
currentPosition += (currentPosition + 8).AlignUp(alignment);
}

Writer.Write(currentPosition);
Expand Down

0 comments on commit f1bdefe

Please sign in to comment.