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

Merge pull request #4135 from peppy/expose-accuracy

Expose CalculateAccuracy for performance tools
This commit is contained in:
Dan Balasescu 2019-01-23 20:55:50 +09:00 committed by GitHub
commit d53386cf4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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];