Simplify condition

This commit is contained in:
smoogipoo 2018-01-30 16:28:38 +09:00
parent 702c4efb88
commit 27357e100a
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ protected override void Update()
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);