1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25:11 +08:00

forgot about the / 0

This commit is contained in:
Xexxar 2021-08-19 14:49:44 +00:00
parent 0effc8f5d8
commit 7b70d41a93

View File

@ -173,6 +173,9 @@ namespace osu.Game.Rulesets.Osu.Difficulty
{
int amountHitObjectsWithAccuracy = Attributes.HitCircleCount;
if (amountHitObjectsWithAccuracy == 0)
return 0;
// This section should be documented by Tr3, but effectively we're calculating the exact same way as before, but
// we calculate a variance based on the object count and # of 50s, 100s, etc. This prevents us from having cases
// where an SS on lower OD is actually worth more than a 95% on OD11, even though the OD11 requires a greater