mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Extra guard against no attributes
This commit is contained in:
@ -70,7 +70,7 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
|
|
||||||
private void onNewJudgement(JudgementResult judgement)
|
private void onNewJudgement(JudgementResult judgement)
|
||||||
{
|
{
|
||||||
if (player == null)
|
if (player == null || timedAttributes.Length == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var attribIndex = Array.BinarySearch(timedAttributes, 0, timedAttributes.Length, new TimedDifficultyAttributes(judgement.HitObject.GetEndTime(), null));
|
var attribIndex = Array.BinarySearch(timedAttributes, 0, timedAttributes.Length, new TimedDifficultyAttributes(judgement.HitObject.GetEndTime(), null));
|
||||||
|
Reference in New Issue
Block a user