Fix NullReferenceException on main menu for mobile game hsots

This commit is contained in:
Salman Ahmed 2020-01-25 11:41:26 +03:00
parent b9235ca863
commit 8aec9e4500

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 =>