mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
fix osu!direct download reloading all panels
This fixes the recreation of all panels when a download completes. Also fixes NullReference when you download without ever opening the details of one Set.
This commit is contained in:
@ -234,7 +234,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
private void handleBeatmapAdd(BeatmapSetInfo beatmap)
|
||||
{
|
||||
if (beatmap.OnlineBeatmapSetID == BeatmapSet.OnlineBeatmapSetID)
|
||||
if (beatmap.OnlineBeatmapSetID == BeatmapSet?.OnlineBeatmapSetID)
|
||||
downloadButtonsContainer.FadeOut(transition_duration);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user