From a60cf4c26a9f408df5c2a2442eebe1e3eb6ef817 Mon Sep 17 00:00:00 2001 From: Derrick Timmermans Date: Mon, 9 Dec 2024 22:19:18 +0100 Subject: [PATCH] Fix slide sounds not using std HitObject volume --- .../Objects/Drawables/DrawableSlide.cs | 1 + .../Objects/Drawables/DrawableSlideBody.cs | 5 +++++ osu.Game.Rulesets.Sentakki/Objects/Slide.cs | 1 + 3 files changed, 7 insertions(+) diff --git a/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlide.cs b/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlide.cs index efe396d21..7edade942 100644 --- a/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlide.cs +++ b/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlide.cs @@ -46,6 +46,7 @@ private void load() } }); } + protected override void LoadSamples() { // The slide parent object doesn't need a sample diff --git a/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlideBody.cs b/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlideBody.cs index 92e0eb8aa..a8d29130d 100644 --- a/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlideBody.cs +++ b/osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlideBody.cs @@ -115,6 +115,11 @@ protected override void OnApply() StarProgress = 0; } + protected override void LoadSamples() + { + // The slidebody object doesn't need a sample + } + protected override void OnFree() { base.OnFree(); diff --git a/osu.Game.Rulesets.Sentakki/Objects/Slide.cs b/osu.Game.Rulesets.Sentakki/Objects/Slide.cs index d58d19edc..208558911 100644 --- a/osu.Game.Rulesets.Sentakki/Objects/Slide.cs +++ b/osu.Game.Rulesets.Sentakki/Objects/Slide.cs @@ -61,6 +61,7 @@ private void createSlideBodies() { Lane = slideInfo.SlidePath.EndLane + Lane, StartTime = StartTime, + Samples = Samples }); SlideBodies.Add(body);