Skip to content

Commit

Permalink
Merge pull request #1 from Finadoggie/miss-count-fix
Browse files Browse the repository at this point in the history
Miss count fix
  • Loading branch information
Finadoggie authored Mar 22, 2024
2 parents 970e45f + 8408455 commit 12afa8d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion osu.Game.Rulesets.Osu/Difficulty/OsuPerformanceCalculator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ protected override PerformanceAttributes CreatePerformanceAttributes(ScoreInfo s
countOk = score.Statistics.GetValueOrDefault(HitResult.Ok);
countMeh = score.Statistics.GetValueOrDefault(HitResult.Meh);
countMiss = score.Statistics.GetValueOrDefault(HitResult.Miss);
effectiveMissCount = calculateEffectiveMissCount(osuAttributes);
if (!score.Mods.Any(h => h is OsuModClassic cl && cl.NoSliderHeadAccuracy.Value))
effectiveMissCount = countMiss;
else
effectiveMissCount = calculateEffectiveMissCount(osuAttributes);

double multiplier = PERFORMANCE_BASE_MULTIPLIER;

Expand Down

0 comments on commit 12afa8d

Please sign in to comment.