1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:23:22 +08:00

add accuracy calculation comment

This commit is contained in:
Gabe Livengood 2022-05-25 15:11:06 -04:00
parent 5944a15c30
commit 58d4aeb4fb
No known key found for this signature in database
GPG Key ID: 70321B78DAECE683

View File

@ -40,6 +40,7 @@ namespace osu.Game.Rulesets.Mods
protected override bool FailCondition(HealthProcessor healthProcessor, JudgementResult result)
{
// accuracy calculation logic taken from `ScoreProcessor`. should be updated here if the formula ever changes.
if (!result.Type.IsScorable() || result.Type.IsBonus())
return false;