From cac2780fdb98ac5ff5d693b3f5da770ffd1bae98 Mon Sep 17 00:00:00 2001 From: Derrick Timmermans Date: Wed, 4 Dec 2024 17:16:11 +0100 Subject: [PATCH] Don't draw HitObjectLine for slides without stars --- osu.Game.Rulesets.Sentakki/UI/LanedPlayfield.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Sentakki/UI/LanedPlayfield.cs b/osu.Game.Rulesets.Sentakki/UI/LanedPlayfield.cs index 0eca6756d..1971e9d17 100644 --- a/osu.Game.Rulesets.Sentakki/UI/LanedPlayfield.cs +++ b/osu.Game.Rulesets.Sentakki/UI/LanedPlayfield.cs @@ -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); }