mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Fix potential nullref
This commit is contained in:
@ -54,7 +54,8 @@ namespace osu.Game.Screens.Multi.Match.Components
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
beatmaps.ItemAdded -= beatmapAdded;
|
||||
if (beatmaps != null)
|
||||
beatmaps.ItemAdded -= beatmapAdded;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user