mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:17:27 +08:00
Fix error on plays with no hitEvents
This commit is contained in:
parent
d87932a875
commit
636a708448
@ -16,7 +16,7 @@ namespace osu.Game.Rulesets.Osu.Scoring
|
||||
{
|
||||
IEnumerable<HitEvent> hitCircleEvents = hitEvents.Where(e => e.HitObject is HitCircle && !(e.HitObject is SliderTailCircle)).ToList();
|
||||
|
||||
Vector2 averageHitError = hitCircleEvents.CalculateAverageAimError()!.Value;
|
||||
Vector2? averageHitError = hitCircleEvents.CalculateAverageAimError();
|
||||
|
||||
int eventCount = 0;
|
||||
double varianceSum = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user