Skip to content

Commit

Permalink
fix a problem that more than 5 difficulties are converted
Browse files Browse the repository at this point in the history
  • Loading branch information
tmokmss committed May 19, 2018
1 parent 433d862 commit a07bccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Osu2Saber/Model/Osu2BsConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public string AddBeatmap(Beatmap org)
{
InitializeInfo(org);
}
if (info.difficultyLevels.Count > MaxNumOfBeatmap) return null;
if (info.difficultyLevels.Count >= MaxNumOfBeatmap) return null;
var map = GenerateMap(org);
var jsonPath = AddDifficulty(org);
var mapPath = Path.Combine(OutDir, jsonPath);
Expand Down

0 comments on commit a07bccf

Please sign in to comment.