mirror of
https://github.com/ppy/osu.git
synced 2025-01-18 11:02:57 +08:00
fix usage of flashlight difficulty
This commit is contained in:
parent
6e2f8cf4c2
commit
ae25f27785
@ -283,7 +283,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
||||
if (!score.Mods.Any(h => h is OsuModFlashlight))
|
||||
return 0.0;
|
||||
|
||||
double flashlightValue = Flashlight.DifficultyToPerformance(attributes.FlashlightDifficulty);
|
||||
double flashlightValue = Flashlight.DifficultyToPerformance(attributes.FlashlightDifficulty!.Value);
|
||||
|
||||
// Penalize misses by assessing # of misses relative to the total # of objects. Default a 3% reduction for any # of misses.
|
||||
if (effectiveMissCount > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user