Skip to content

Commit

Permalink
Merge pull request #511 from LumpBloom7/Break-slide-sound-fix
Browse files Browse the repository at this point in the history
Fix break slides playing slide sounds after hit
  • Loading branch information
LumpBloom7 authored Nov 26, 2023
2 parents dba93b7 + b0f209f commit 37368a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu.Game.Rulesets.Sentakki/Objects/SlideBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ public SlideBody(SlideBodyInfo slideBodyInfo)

protected override void CreateNestedHitObjects(CancellationToken cancellationToken)
{
base.CreateNestedHitObjects(cancellationToken);

CreateSlideCheckpoints();
if (NestedHitObjects.Any())
NestedHitObjects.First().Samples.Add(new SentakkiHitSampleInfo("slide", CreateHitSampleInfo().Volume));

base.CreateNestedHitObjects(cancellationToken);
}

protected void CreateSlideCheckpoints()
Expand Down

0 comments on commit 37368a0

Please sign in to comment.