mirror of
https://github.com/ppy/osu.git
synced 2025-02-24 19:42:57 +08:00
Add additional condition
This commit is contained in:
parent
7e1ee6151f
commit
00d65f911a
@ -955,7 +955,7 @@ namespace osu.Game.Screens.Play
|
|||||||
ScoreProcessor.FailScore(Score.ScoreInfo);
|
ScoreProcessor.FailScore(Score.ScoreInfo);
|
||||||
OnFail();
|
OnFail();
|
||||||
|
|
||||||
if (GameplayState.Mods.OfType<IApplicableFailOverride>().Any(m => m.RestartOnFail))
|
if (GameplayState.Mods.OfType<IApplicableFailOverride>().Any(m => m.RestartOnFail && m == HealthProcessor.FailTrigger))
|
||||||
Restart(true);
|
Restart(true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user