mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:12:56 +08:00
Fix potential nullref when song select filters to no results
This commit is contained in:
parent
2d2faa72a9
commit
60d2de8a3b
@ -482,7 +482,7 @@ namespace osu.Game.Screens.Select
|
||||
else
|
||||
selectionChangedDebounce = Scheduler.AddDelayed(run, 200);
|
||||
|
||||
if (!beatmap.Equals(beatmapInfoPrevious))
|
||||
if (beatmap?.Equals(beatmapInfoPrevious) != true)
|
||||
{
|
||||
if (beatmap != null && beatmapInfoPrevious != null && Time.Current - audioFeedbackLastPlaybackTime >= 50)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user