From 484268f1f206c670c05d1598c99115a6d4d1b5f4 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 23 Jan 2019 20:30:32 +0900 Subject: [PATCH] Expose CalculateAccuracy for performance tools --- osu.Game/Scoring/Legacy/LegacyScoreParser.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Scoring/Legacy/LegacyScoreParser.cs b/osu.Game/Scoring/Legacy/LegacyScoreParser.cs index 3184f776a7..87411a95c8 100644 --- a/osu.Game/Scoring/Legacy/LegacyScoreParser.cs +++ b/osu.Game/Scoring/Legacy/LegacyScoreParser.cs @@ -109,12 +109,12 @@ namespace osu.Game.Scoring.Legacy } } - calculateAccuracy(score.ScoreInfo); + CalculateAccuracy(score.ScoreInfo); return score; } - private void calculateAccuracy(ScoreInfo score) + protected void CalculateAccuracy(ScoreInfo score) { int countMiss = score.Statistics[HitResult.Miss]; int count50 = score.Statistics[HitResult.Meh];