Skip to content

Commit

Permalink
Fix writing bug causing incorrect chunk length
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsitton committed Apr 16, 2022
1 parent 6585b35 commit a89992f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BChartWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public static void WriteDifficulty(Stream stream, Difficulty diff, Chart chart)
{
void WriteData(Stream stre)
{
stream.WriteByte((byte)diff);
stre.WriteByte((byte)diff);
int i = 0;
foreach (var ev in chart.chartObjects)
{
Expand Down

0 comments on commit a89992f

Please sign in to comment.