mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 16:13:34 +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