1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 10:22:56 +08:00

Missed one

This commit is contained in:
PercyDan 2021-08-12 10:14:01 +08:00
parent 18ecd8758b
commit d80a2dcca7
No known key found for this signature in database
GPG Key ID: 6AEA7C525131BAF3
2 changed files with 1 additions and 3 deletions

View File

@ -18,7 +18,7 @@ namespace osu.Game.Rulesets.Mods
public virtual bool PerformFail() => true;
public virtual bool RestartOnFail => true;
public virtual bool RestartOnFail => Restart.Value;
public void ApplyToHealthProcessor(HealthProcessor healthProcessor)
{

View File

@ -23,8 +23,6 @@ namespace osu.Game.Rulesets.Mods
public override bool PerformFail() => true;
public override bool RestartOnFail => Restart.Value;
protected override bool FailCondition(HealthProcessor healthProcessor, JudgementResult result)
=> result.Type.AffectsCombo()
&& !result.IsHit;