1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 16:43:00 +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);
foreach (var hitobject in taikoDifficultyHitObjects)
yield return hitobject;
return taikoDifficultyHitObjects;
}
protected override Skill[] CreateSkills(IBeatmap beatmap) => new Skill[]