mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08:00
Simplify lambda.
This commit is contained in:
parent
5beab4c43d
commit
acfcd30cc6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user