1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

Remove unnecessary .Except

This commit is contained in:
smoogipoo 2017-12-14 12:46:02 +09:00
parent d4cd835419
commit 345b67ac85

View File

@ -37,8 +37,7 @@ namespace osu.Game.Rulesets.Osu
public override IEnumerable<BeatmapStatistic> GetBeatmapStatistics(WorkingBeatmap beatmap)
{
IEnumerable<HitObject> hitObjects = beatmap.Beatmap.HitObjects;
IEnumerable<HitObject> durationObjects = hitObjects.Where(d => d is IHasEndTime);
IEnumerable<HitObject> circles = hitObjects.Except(durationObjects);
IEnumerable<HitObject> circles = hitObjects.Where(d => !(d is IHasEndTime));
IEnumerable<HitObject> sliders = hitObjects.Where(s => s is IHasCurve);
return new[]