Fix the beatmap carousel playing the difficulty change sample on beatmap change

This commit is contained in:
Dean Herbert 2021-01-15 14:07:24 +09:00
parent abfc5f24a3
commit 0a65ae8f1e

View File

@ -500,7 +500,7 @@ namespace osu.Game.Screens.Select
if (beatmap != null) if (beatmap != null)
{ {
if (beatmap.BeatmapSetInfoID == beatmapNoDebounce?.BeatmapSetInfoID) if (beatmap.BeatmapSetInfoID == previous?.BeatmapInfo.BeatmapSetInfoID)
sampleChangeDifficulty.Play(); sampleChangeDifficulty.Play();
else else
sampleChangeBeatmap.Play(); sampleChangeBeatmap.Play();