1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

Remove unnecessary yield iteration

This commit is contained in:
Bartłomiej Dach 2020-08-22 17:24:51 +02:00
parent cb3fef7616
commit bcf3cd5657

View File

@ -129,8 +129,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
} }
new StaminaCheeseDetector().FindCheese(taikoDifficultyHitObjects); new StaminaCheeseDetector().FindCheese(taikoDifficultyHitObjects);
foreach (var hitobject in taikoDifficultyHitObjects) return taikoDifficultyHitObjects;
yield return hitobject;
} }
protected override Skill[] CreateSkills(IBeatmap beatmap) => new Skill[] protected override Skill[] CreateSkills(IBeatmap beatmap) => new Skill[]