Cleanup of code

This commit is contained in:
MBmasher
2021-08-10 16:06:20 +10:00
parent 6b1a4a53d4
commit f4ceb17064
2 changed files with 7 additions and 5 deletions

View File

@ -192,7 +192,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty
{
double flashlightValue = 0.0;
if (mods.Any(h => h is OsuModFlashlight)) {
if (mods.Any(h => h is OsuModFlashlight))
{
flashlightValue = Math.Pow(Attributes.FlashlightStrain, 2.0) * 25.0;
// Add an additional bonus for HDFL.