1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 13:47:38 +08:00

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
commit 40f020c683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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