1
0
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:
Dean Herbert
2026-05-12 00:03:16 +09:00
Unverified
parent 4d75bd08f0
commit e8d8ef0be1
+1 -1
View File
@@ -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);