1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Add null check for notification overlay

This commit is contained in:
Andrei Zavatski 2019-11-13 00:01:13 +03:00
parent dfd5c88075
commit 3903e59f2f

View File

@ -75,7 +75,7 @@ namespace osu.Game.Overlays.BeatmapSet.Buttons
request.Failure += e =>
{
notifications.Post(new SimpleNotification
notifications?.Post(new SimpleNotification
{
Text = e.Message,
Icon = FontAwesome.Solid.Times,