Expose CalculateAccuracy for performance tools

This commit is contained in:
Dean Herbert 2019-01-23 20:30:32 +09:00
parent f6fbb77ecc
commit 484268f1f2

View File

@ -109,12 +109,12 @@ namespace osu.Game.Scoring.Legacy
} }
} }
calculateAccuracy(score.ScoreInfo); CalculateAccuracy(score.ScoreInfo);
return score; return score;
} }
private void calculateAccuracy(ScoreInfo score) protected void CalculateAccuracy(ScoreInfo score)
{ {
int countMiss = score.Statistics[HitResult.Miss]; int countMiss = score.Statistics[HitResult.Miss];
int count50 = score.Statistics[HitResult.Meh]; int count50 = score.Statistics[HitResult.Meh];