From 345b67ac85973641f76535d44a5627e045b343a3 Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Thu, 14 Dec 2017 12:46:02 +0900 Subject: [PATCH] Remove unnecessary .Except --- osu.Game.Rulesets.Osu/OsuRuleset.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/osu.Game.Rulesets.Osu/OsuRuleset.cs b/osu.Game.Rulesets.Osu/OsuRuleset.cs index 48516a8cef..85a46f3aaa 100644 --- a/osu.Game.Rulesets.Osu/OsuRuleset.cs +++ b/osu.Game.Rulesets.Osu/OsuRuleset.cs @@ -37,8 +37,7 @@ namespace osu.Game.Rulesets.Osu public override IEnumerable GetBeatmapStatistics(WorkingBeatmap beatmap) { IEnumerable hitObjects = beatmap.Beatmap.HitObjects; - IEnumerable durationObjects = hitObjects.Where(d => d is IHasEndTime); - IEnumerable circles = hitObjects.Except(durationObjects); + IEnumerable circles = hitObjects.Where(d => !(d is IHasEndTime)); IEnumerable sliders = hitObjects.Where(s => s is IHasCurve); return new[]