Skip to content

Commit 6b59c39

Browse files
authored
Merge pull request #601 from LumpBloom7/StrictShortSlides
Force short slides to always be strict
2 parents 7a78fe9 + dfe8bbc commit 6b59c39

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableSlideCheckpoint.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ public partial class DrawableSlideCheckpoint : DrawableSentakkiHitObject
3333

3434
public bool StrictSliderTracking { get; set; }
3535

36-
private int trackingLookBehindDistance => StrictSliderTracking ? 1 : 2;
36+
// Short slides should always have strict tracking
37+
// This is a QoL improvement that prevents short slides from being completed without intention when hitting a laned note along the tail.
38+
private bool shouldBeStrict => StrictSliderTracking || ParentHitObject.SlideCheckpoints.Count <= 3;
39+
40+
private int trackingLookBehindDistance => shouldBeStrict ? 1 : 2;
3741

3842
private bool isPreviousNodeHit() => ThisIndex < trackingLookBehindDistance || ParentHitObject.SlideCheckpoints[ThisIndex - trackingLookBehindDistance].IsHit;
3943

0 commit comments

Comments
 (0)