mirror of
https://github.com/ppy/osu
synced 2025-01-01 20:02:14 +00:00
Proper Public Method Case
- onFailCheck to OnFailCheck
This commit is contained in:
parent
6d74fd254c
commit
2b0295ed86
@ -11,14 +11,14 @@ namespace osu.Game.Rulesets.Mods
|
||||
public override string ShortenedName => "PF";
|
||||
public override string Description => "SS or quit.";
|
||||
|
||||
public bool onFailCheck(ScoreProcessor scoreProcessor)
|
||||
public bool OnFailCheck(ScoreProcessor scoreProcessor)
|
||||
{
|
||||
return scoreProcessor.Accuracy.Value != 1;
|
||||
}
|
||||
|
||||
public virtual void ApplyToScoreProcessor(ScoreProcessor scoreProcessor)
|
||||
{
|
||||
scoreProcessor.FailChecker += onFailCheck;
|
||||
scoreProcessor.FailChecker += OnFailCheck;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,14 +18,14 @@ namespace osu.Game.Rulesets.Mods
|
||||
public override bool Ranked => true;
|
||||
public override Type[] IncompatibleMods => new[] { typeof(ModNoFail), typeof(ModRelax), typeof(ModAutoplay) };
|
||||
|
||||
public bool onFailCheck(ScoreProcessor scoreProcessor)
|
||||
public bool OnFailCheck(ScoreProcessor scoreProcessor)
|
||||
{
|
||||
return scoreProcessor.Combo.Value != scoreProcessor.HighestCombo.Value;
|
||||
}
|
||||
|
||||
public virtual void ApplyToScoreProcessor(ScoreProcessor scoreProcessor)
|
||||
{
|
||||
scoreProcessor.FailChecker += onFailCheck;
|
||||
scoreProcessor.FailChecker += OnFailCheck;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user