1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 20:32:55 +08:00

Return base for default FailCondition

This commit is contained in:
Plextora 2024-12-22 12:09:27 -05:00
parent 5c9278ee2f
commit 047c448741

View File

@ -22,7 +22,7 @@ namespace osu.Game.Rulesets.Osu.Mods
[SettingSource("Fail when missing on a slider tail")] [SettingSource("Fail when missing on a slider tail")]
public BindableBool SliderTailMiss { get; } = new BindableBool(); public BindableBool SliderTailMiss { get; } = new BindableBool();
protected override bool FailCondition(HealthProcessor healthProcessor, JudgementResult result) => ( protected override bool FailCondition(HealthProcessor healthProcessor, JudgementResult result) =>
SliderTailMiss.Value && result.HitObject is SliderTailCircle && result.Type == HitResult.IgnoreMiss) || (result.Type.AffectsCombo() && !result.IsHit); (SliderTailMiss.Value && result.HitObject is SliderTailCircle && result.Type == HitResult.IgnoreMiss) || base.FailCondition(healthProcessor, result);
} }
} }