Simplify condition

This commit is contained in:
smoogipoo
2018-01-30 16:28:38 +09:00
parent 702c4efb88
commit 27357e100a

View File

@ -111,7 +111,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
currentSpan = span;
//todo: we probably want to reconsider this before adding scoring, but it looks and feels nice.
if (!HeadCircle.Judgements.Any(j => j.IsHit))
if (!HeadCircle.IsHit)
HeadCircle.Position = slider.Curve.PositionAt(progress);
foreach (var c in components.OfType<ISliderProgress>()) c.UpdateProgress(progress, span);