Skip to content

Commit

Permalink
Change to check if UnidentifiedData's Origin is Ini
Browse files Browse the repository at this point in the history
  • Loading branch information
Memsworth committed Oct 28, 2024
1 parent 7a2107a commit fd1cf93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ChartTools/IO/Ini/IniSerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public override IEnumerable<string> Serialize()
foreach ((var key, var value) in props)
yield return IniFormatting.Line(key, value.ToString());

foreach (var data in Content.UnidentifiedData)
yield return IniFormatting.Line(data.Key, data.Value);
foreach (var data in Content.UnidentifiedData.Where(x => x.Origin is FileType.Ini))
yield return IniFormatting.Line(data.Key, data.Value);

if (Content.AlbumTrack is not null)
{
Expand Down

0 comments on commit fd1cf93

Please sign in to comment.