mirror of
https://github.com/ppy/osu
synced 2024-12-15 11:25:29 +00:00
Remove unnecessary .Except
This commit is contained in:
parent
d4cd835419
commit
345b67ac85
@ -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[]
|
||||
|
Loading…
Reference in New Issue
Block a user