mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 08:52:55 +08:00
Fix null condition inhibiting deselection events
This commit is contained in:
parent
a6d4992997
commit
efb71713ef
@ -428,7 +428,10 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
private void updateSelectedBeatmap(BeatmapInfo beatmap)
|
private void updateSelectedBeatmap(BeatmapInfo beatmap)
|
||||||
{
|
{
|
||||||
if (beatmap == null || beatmap.Equals(beatmapNoDebounce))
|
if (beatmap == null && beatmapNoDebounce == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (beatmap?.Equals(beatmapNoDebounce) == true)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
beatmapNoDebounce = beatmap;
|
beatmapNoDebounce = beatmap;
|
||||||
|
Loading…
Reference in New Issue
Block a user