diff --git a/osu.Game/Screens/Play/Player.cs b/osu.Game/Screens/Play/Player.cs index 2dde50f492..bdd6949618 100644 --- a/osu.Game/Screens/Play/Player.cs +++ b/osu.Game/Screens/Play/Player.cs @@ -139,7 +139,7 @@ namespace osu.Game.Screens.Play hitRenderer.InputManager.ReplayInputHandler = ReplayInputHandler; hudOverlay.BindHitRenderer(hitRenderer); - hudOverlay.Progress.Length = Beatmap.Track.Length; + hudOverlay.Progress.Length = Beatmap?.Track?.Length ?? 0; //bind HitRenderer to ScoreProcessor and ourselves (for a pass situation) hitRenderer.OnAllJudged += onCompletion;