1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 09:23:06 +08:00

Fix incorrect osu! difficulty calculator combo count

This commit is contained in:
smoogipoo 2018-05-11 21:48:10 +09:00
parent 7e7a5f8964
commit 224f1a0810

View File

@ -32,7 +32,7 @@ namespace osu.Game.Rulesets.Osu.Scoring
countHitCircles = Beatmap.HitObjects.Count(h => h is HitCircle);
beatmapMaxCombo = Beatmap.HitObjects.Count();
beatmapMaxCombo += Beatmap.HitObjects.OfType<Slider>().Sum(s => s.NestedHitObjects.Count) + 1;
beatmapMaxCombo += Beatmap.HitObjects.OfType<Slider>().Count();
}
public override double Calculate(Dictionary<string, double> categoryRatings = null)