mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 04:13:11 +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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void PlaySamples()
|
protected void PlaySamples()
|
||||||
{
|
{
|
||||||
samples.ForEach(s =>
|
samples.ForEach(s => s?.Play());
|
||||||
{
|
|
||||||
|
|
||||||
s?.Play();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<DrawableHitObject<TObject, TJudgement>> nestedHitObjects;
|
private List<DrawableHitObject<TObject, TJudgement>> nestedHitObjects;
|
||||||
|
Loading…
Reference in New Issue
Block a user