mirror of
https://github.com/ppy/osu.git
synced 2025-02-24 20:25:36 +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);
|
||||
OnFail();
|
||||
|
||||
if (GameplayState.Mods.OfType<IApplicableFailOverride>().Any(m => m.RestartOnFail))
|
||||
if (GameplayState.Mods.OfType<IApplicableFailOverride>().Any(m => m.RestartOnFail && m == HealthProcessor.FailTrigger))
|
||||
Restart(true);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user