Fix stutters when changing beatmap difficulties (#6959)

Fix stutters when changing beatmap difficulties
This commit is contained in:
Dean Herbert 2019-11-25 18:47:54 +09:00 committed by GitHub
commit 053e38c95f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public WorkingBeatmap Beatmap
Schedule(() =>
{
if ((Background as BeatmapBackground)?.Beatmap == beatmap)
if ((Background as BeatmapBackground)?.Beatmap.BeatmapInfo.BackgroundEquals(beatmap?.BeatmapInfo) ?? false)
return;
cancellationSource?.Cancel();