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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user