mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Fix nullref
This commit is contained in:
@ -50,7 +50,7 @@ namespace osu.Game.Screens.Play.HUD.HitErrorMeters
|
|||||||
Insert(runningDepth--, new DrawableResult(colour, drawable_judgement_size));
|
Insert(runningDepth--, new DrawableResult(colour, drawable_judgement_size));
|
||||||
|
|
||||||
if (Children.Count > max_available_judgements)
|
if (Children.Count > max_available_judgements)
|
||||||
Children.FirstOrDefault(c => !c.IsRemoved).Remove();
|
Children.FirstOrDefault(c => !c.IsRemoved)?.Remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user