Skip to content

Commit

Permalink
Don't draw HitObjectLine for slides without stars
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed Dec 4, 2024
1 parent 4687553 commit cac2780
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion osu.Game.Rulesets.Sentakki/UI/LanedPlayfield.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ public override void Add(HitObject hitObject)
if (hitObject is not SentakkiLanedHitObject lanedHitObject)
return;

HitObjectLineRenderer.AddHitObject(lanedHitObject);
if (hitObject is not Slide slide || slide.TapType is not Slide.TapTypeEnum.None)
HitObjectLineRenderer.AddHitObject(lanedHitObject);

Lanes[lanedHitObject.Lane].Add(lanedHitObject);
}

Expand Down

0 comments on commit cac2780

Please sign in to comment.