Skip to content

Commit

Permalink
Should remove checking if not have time tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Dec 6, 2020
1 parent 6bec1c0 commit 4268585
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions osu.Game.Rulesets.Karaoke/Beatmaps/Formats/LrcEncoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ private LyricLine encodeLyric(Objects.Lyric lyric) =>

private IEnumerable<TimeTag> convertTimeTag(string text, IReadOnlyDictionary<TimeTagIndex, double> tags)
{
if (tags == null || !tags.Any())
throw new ArgumentNullException($"{nameof(tags)} cannot be null.");

var totalTags = text.Length * 2 + 2;

for (int i = 0; i < totalTags; i++)
Expand Down

0 comments on commit 4268585

Please sign in to comment.