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
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@ void run()
if (beatmap != null)
{
if (beatmap.BeatmapSetInfoID == beatmapNoDebounce?.BeatmapSetInfoID)
if (beatmap.BeatmapSetInfoID == previous?.BeatmapInfo.BeatmapSetInfoID)
sampleChangeDifficulty.Play();
else
sampleChangeBeatmap.Play();