Skip to content

Commit

Permalink
force use the iList for able to return the order with format like arr…
Browse files Browse the repository at this point in the history
…ay or list.
  • Loading branch information
andy840119 committed Mar 12, 2022
1 parent 730fe9d commit 91ddf94
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.

using System.Collections.Generic;
using System.Linq;
using osu.Game.Rulesets.Karaoke.Objects;
using osu.Game.Rulesets.Karaoke.Utils;

Expand All @@ -10,6 +11,6 @@ namespace osu.Game.Rulesets.Karaoke.IO.Serialization.Converters
public class TimeTagsConverter : SortableJsonConvertor<TimeTag>
{
protected override IList<TimeTag> GetSortedValue(IEnumerable<TimeTag> objects)
=> TimeTagsUtils.Sort(objects);
=> TimeTagsUtils.Sort(objects).ToArray();
}
}

0 comments on commit 91ddf94

Please sign in to comment.