Fix mod failure checks executing actual game logic

This commit is contained in:
Dean Herbert
2020-05-12 20:08:35 +09:00
parent ab9149844a
commit de50b725d5
11 changed files with 25 additions and 21 deletions

View File

@ -48,17 +48,14 @@ namespace osu.Game.Rulesets.Mods
retries = Retries.Value;
}
public bool AllowFail
public bool PerformFail()
{
get
{
if (retries == 0) return true;
if (retries == 0) return true;
health.Value = health.MaxValue;
retries--;
health.Value = health.MaxValue;
retries--;
return false;
}
return false;
}
public bool RestartOnFail => false;