Skip to content

Commit

Permalink
Update TRKWriter.cs
Browse files Browse the repository at this point in the history
Remove extra `bw.Write((short)metadata.Count);` so saving triggers will now work
  • Loading branch information
Tran-Foxxo committed Jun 8, 2020
1 parent 3896989 commit 9f720e2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/IO/TRKWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ public static string SaveTrack(Track trk, string savename)
}
metadata.Add(TrackMetadata.triggers + "=" + triggerstring.ToString());
bw.Write((short)metadata.Count);
bw.Write((short)metadata.Count);
foreach (var str in metadata)
{
WriteString(bw, str);
Expand Down

0 comments on commit 9f720e2

Please sign in to comment.