1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 11:40:28 +08:00

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
Unverified
parent abfc5f24a3
commit 0a65ae8f1e
+1 -1
View File
@@ -500,7 +500,7 @@ namespace osu.Game.Screens.Select
if (beatmap != null)
{
if (beatmap.BeatmapSetInfoID == beatmapNoDebounce?.BeatmapSetInfoID)
if (beatmap.BeatmapSetInfoID == previous?.BeatmapInfo.BeatmapSetInfoID)
sampleChangeDifficulty.Play();
else
sampleChangeBeatmap.Play();