Fix potential nullref

This commit is contained in:
smoogipoo
2018-12-18 18:09:54 +09:00
parent 3cdeeb7ac5
commit 4050cb88ea

View File

@ -54,7 +54,8 @@ namespace osu.Game.Screens.Multi.Match.Components
{
base.Dispose(isDisposing);
beatmaps.ItemAdded -= beatmapAdded;
if (beatmaps != null)
beatmaps.ItemAdded -= beatmapAdded;
}
}
}