Simplify code

This commit is contained in:
PercyDan54 2022-02-12 10:06:43 +08:00
parent 2ed3d58531
commit 053f41d755
No known key found for this signature in database
GPG Key ID: 6AEA7C525131BAF3

View File

@ -88,8 +88,7 @@ namespace osu.Game.Rulesets.Osu.Mods
break;
case DrawableSpinner spinner:
if (spinner.HitObject.SpinsRequired > 0)
requiresHold = true;
requiresHold = spinner.HitObject.SpinsRequired > 0;
break;
}
}