mirror of
https://github.com/ppy/osu.git
synced 2025-03-05 10:53:10 +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
|
else
|
||||||
selectionChangedDebounce = Scheduler.AddDelayed(run, 200);
|
selectionChangedDebounce = Scheduler.AddDelayed(run, 200);
|
||||||
|
|
||||||
if (!beatmap.Equals(beatmapInfoPrevious))
|
if (beatmap?.Equals(beatmapInfoPrevious) != true)
|
||||||
{
|
{
|
||||||
if (beatmap != null && beatmapInfoPrevious != null && Time.Current - audioFeedbackLastPlaybackTime >= 50)
|
if (beatmap != null && beatmapInfoPrevious != null && Time.Current - audioFeedbackLastPlaybackTime >= 50)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user