Merge pull request #7614 from iiSaLMaN/fix-nre

Fix NullReferenceException on main menu for mobile game hosts
This commit is contained in:
Dean Herbert
2020-01-25 18:14:39 +09:00
committed by GitHub

View File

@ -116,7 +116,7 @@ namespace osu.Game.Screens.Menu
Origin = Anchor.TopRight,
Margin = new MarginPadding { Right = 15, Top = 5 }
},
exitConfirmOverlay.CreateProxy()
exitConfirmOverlay?.CreateProxy() ?? Drawable.Empty()
});
buttons.StateChanged += state =>