mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 01:47:33 +08:00
Use ranked property of mods rather than checking for individual mods
This commit is contained in:
parent
7db7fb91dd
commit
f807d26cae
@ -47,7 +47,7 @@ namespace osu.Game.Rulesets.Osu.Scoring
|
|||||||
countMiss = Convert.ToInt32(Score.Statistics["x"]);
|
countMiss = Convert.ToInt32(Score.Statistics["x"]);
|
||||||
|
|
||||||
// Don't count scores made with supposedly unranked mods
|
// Don't count scores made with supposedly unranked mods
|
||||||
if (mods.Any(m => m is OsuModRelax || m is OsuModAutopilot || m is OsuModAutoplay))
|
if (mods.Any(m => !m.Ranked))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
// Todo: In the future we should apply changes to PreEmpt/AR at an OsuHitObject/BaseDifficulty level, but this is done
|
// Todo: In the future we should apply changes to PreEmpt/AR at an OsuHitObject/BaseDifficulty level, but this is done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user