1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 12:17:46 +08:00

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
commit 83db9f6347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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