1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 05:39:53 +08:00

Fix none result getting included

This commit is contained in:
smoogipoo
2018-12-27 22:48:24 +09:00
Unverified
parent b64932f6db
commit 338b95dd63
+1 -1
View File
@@ -179,7 +179,7 @@ namespace osu.Game.Rulesets.Scoring
var hitWindows = CreateHitWindows();
foreach (var result in Enum.GetValues(typeof(HitResult)).OfType<HitResult>().Where(r => hitWindows.IsHitResultAllowed(r)))
foreach (var result in Enum.GetValues(typeof(HitResult)).OfType<HitResult>().Where(r => r > HitResult.None && hitWindows.IsHitResultAllowed(r)))
score.Statistics[result] = scoreResultCounts.GetOrDefault(result);
}