1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-08 15:52:53 +08:00

fixed the lazeracc being added twice

This commit is contained in:
Givikap120 2024-10-09 00:50:46 +03:00
parent bed67f1d00
commit 7c5c9a0971

View File

@ -213,10 +213,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty
// This percentage only considers HitCircles of any value - in this part of the calculation we focus on hitting the timing hit window.
double betterAccuracyPercentage;
int amountHitObjectsWithAccuracy = attributes.HitCircleCount;
if (!usingClassicSliderAccuracy)
amountHitObjectsWithAccuracy += attributes.SliderCount;
if (score.Mods.OfType<OsuModClassic>().All(m => !m.NoSliderHeadAccuracy.Value))
if (!usingClassicSliderAccuracy)
amountHitObjectsWithAccuracy += attributes.SliderCount;
if (amountHitObjectsWithAccuracy > 0)