1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +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;