mirror of
https://github.com/ppy/osu.git
synced 2026-05-13 19:54:15 +08:00
Fix potential crash when spectator starts with a failed beatmap load
This commit is contained in:
@@ -35,7 +35,7 @@ namespace osu.Game.Screens.Play
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
if (ShowSettingsOverlay)
|
||||
if (ShowSettingsOverlay && GameplayClockContainer != null)
|
||||
{
|
||||
var replayOverlay = new ReplayOverlay();
|
||||
GameplayClockContainer.Add(replayOverlay);
|
||||
|
||||
Reference in New Issue
Block a user