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

Simplify lambda.

This commit is contained in:
smoogipooo 2017-04-06 11:51:04 +09:00
parent 5beab4c43d
commit acfcd30cc6

View File

@ -165,13 +165,9 @@ namespace osu.Game.Modes.Objects.Drawables
return ret;
}
protected virtual void PlaySamples()
protected void PlaySamples()
{
samples.ForEach(s =>
{
s?.Play();
});
samples.ForEach(s => s?.Play());
}
private List<DrawableHitObject<TObject, TJudgement>> nestedHitObjects;