mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
Fix exception with no matching mods
This commit is contained in:
parent
0844a21a51
commit
975e9baf43
@ -16,7 +16,7 @@ namespace osu.Game.Rulesets.Mania.Difficulty
|
||||
{
|
||||
double multiplier = mods.Where(m => m is not (ModHidden or ModHardRock or ModDoubleTime or ModFlashlight or ManiaModFadeIn))
|
||||
.Select(m => m.ScoreMultiplier)
|
||||
.Aggregate((c, n) => c * n);
|
||||
.Aggregate(1.0, (c, n) => c * n);
|
||||
|
||||
TotalScore = (int)(1000000 * multiplier);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user