1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:47:28 +08:00

Add sanity check in Relax effectiveMissCount calculation

This commit is contained in:
Sebastian Krajewski 2021-11-07 05:54:17 +01:00
parent b85bdd6089
commit b1f3fee239

View File

@ -54,7 +54,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
if (mods.Any(h => h is OsuModRelax))
{
effectiveMissCount += countOk + countMeh;
effectiveMissCount = Math.Min(effectiveMissCount + countOk + countMeh, totalHits);
multiplier *= 0.6;
}