Merge pull request #11494 from peppy/fix-beatmap-carousel-incorrect-sample

Fix the beatmap carousel playing the difficulty change sample on beatmap change
This commit is contained in:
Dan Balasescu
2021-01-15 14:47:00 +09:00
committed by GitHub

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();