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:
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