mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 12:02:55 +08:00
Add required null check
This commit is contained in:
parent
c130981184
commit
61c665f239
@ -223,7 +223,7 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
// We may be arriving here due to another component changing the bindable Beatmap.
|
||||
// In these cases, the other component has already loaded the beatmap, so we don't need to do so again.
|
||||
if (!beatmap.Equals(Beatmap.Value.BeatmapInfo))
|
||||
if (beatmap?.Equals(Beatmap.Value.BeatmapInfo) != true)
|
||||
{
|
||||
bool preview = beatmap?.BeatmapSetInfoID != Beatmap.Value.BeatmapInfo.BeatmapSetInfoID;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user