mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 12:35:34 +08:00
Fix nullref in tests as initialBeatmap
may be null
This commit is contained in:
parent
8b5ac55fca
commit
21b364cd77
@ -278,7 +278,7 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
if (!UsingThemedIntro)
|
||||
{
|
||||
initialBeatmap.PrepareTrackForPreview(false);
|
||||
initialBeatmap?.PrepareTrackForPreview(false);
|
||||
|
||||
drawableTrack.VolumeTo(0);
|
||||
drawableTrack.Restart();
|
||||
|
Loading…
Reference in New Issue
Block a user