mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 17:52:56 +08:00
Null track handling in player
This commit is contained in:
parent
befbc63c35
commit
f1f6f2041f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user