mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +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)
|
||||
{
|
||||
if (player == null)
|
||||
if (player == null || timedAttributes.Length == 0)
|
||||
return;
|
||||
|
||||
var attribIndex = Array.BinarySearch(timedAttributes, 0, timedAttributes.Length, new TimedDifficultyAttributes(judgement.HitObject.GetEndTime(), null));
|
||||
|
Reference in New Issue
Block a user