From acfcd30cc6b63eede0371acb31e1326e7126a480 Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Thu, 6 Apr 2017 11:51:04 +0900 Subject: [PATCH] Simplify lambda. --- osu.Game/Modes/Objects/Drawables/DrawableHitObject.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/osu.Game/Modes/Objects/Drawables/DrawableHitObject.cs b/osu.Game/Modes/Objects/Drawables/DrawableHitObject.cs index 602789dcf1..b80f349f46 100644 --- a/osu.Game/Modes/Objects/Drawables/DrawableHitObject.cs +++ b/osu.Game/Modes/Objects/Drawables/DrawableHitObject.cs @@ -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> nestedHitObjects;