Replace and obsolete Ranked flag with IsUserPlayable

This commit is contained in:
Dean Herbert
2021-06-09 14:17:01 +09:00
parent 7774344f0e
commit d0e9f8ef90
26 changed files with 13 additions and 29 deletions

View File

@ -44,7 +44,7 @@ namespace osu.Game.Rulesets.Mania.Difficulty
countMeh = Score.Statistics.GetOrDefault(HitResult.Meh);
countMiss = Score.Statistics.GetOrDefault(HitResult.Miss);
if (mods.Any(m => !m.Ranked))
if (mods.Any(m => !m.UserPlayable))
return 0;
IEnumerable<Mod> scoreIncreaseMods = Ruleset.GetModsFor(ModType.DifficultyIncrease);