From 0c62010d7190bde9344f15b1f272b006bf87d97b Mon Sep 17 00:00:00 2001 From: Derrick Timmermans Date: Wed, 11 Dec 2024 03:27:17 +0100 Subject: [PATCH] Fix break slides not playing break sample --- .../Objects/Drawables/DrawableSentakkiLanedHitObject.cs | 5 +++++ .../Objects/Drawables/DrawableSlideBody.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSentakkiLanedHitObject.cs b/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSentakkiLanedHitObject.cs index 3e6f61d9f..4af130a54 100644 --- a/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSentakkiLanedHitObject.cs +++ b/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSentakkiLanedHitObject.cs @@ -42,6 +42,11 @@ protected override void LoadSamples() { base.LoadSamples(); + LoadBreakSamples(); + } + + public void LoadBreakSamples() + { breakSample.Samples = HitObject.CreateBreakSample(); } diff --git a/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlideBody.cs b/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlideBody.cs index a8d29130d..699c27d00 100644 --- a/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlideBody.cs +++ b/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlideBody.cs @@ -117,7 +117,7 @@ protected override void OnApply() protected override void LoadSamples() { - // The slidebody object doesn't need a sample + LoadBreakSamples(); } protected override void OnFree()