mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 17:32:54 +08:00
Merge pull request #7614 from iiSaLMaN/fix-nre
Fix NullReferenceException on main menu for mobile game hosts
This commit is contained in:
commit
83db9f6347
@ -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 =>
|
||||
|
Loading…
Reference in New Issue
Block a user