nullable-ize Mod.Icon

This commit is contained in:
mcendu
2020-01-14 21:22:00 +08:00
parent abdebcfddc
commit 5d160376c0
32 changed files with 69 additions and 40 deletions

View File

@ -12,7 +12,7 @@ namespace osu.Game.Rulesets.Mods
{
public override string Name => "Perfect";
public override string Acronym => "PF";
public override IconUsage Icon => OsuIcon.ModPerfect;
public override IconUsage? Icon => OsuIcon.ModPerfect;
public override string Description => "SS or quit.";
protected override bool FailCondition(HealthProcessor healthProcessor, JudgementResult result) => result.Type != result.Judgement.MaxResult;