Add better slider duration calculation using bpm and difficulty information.

This commit is contained in:
Dean Herbert
2016-11-28 15:31:54 +09:00
parent a5651427f6
commit bf63be0602
4 changed files with 33 additions and 2 deletions

View File

@ -294,8 +294,12 @@ namespace osu.Game.Beatmaps.Formats
break;
case Section.HitObjects:
var obj = parser?.Parse(val);
if (obj != null)
{
obj.Beatmap = beatmap;
beatmap.HitObjects.Add(obj);
}
break;
}
}