Fix stutters when changing beatmap difficulties

This commit is contained in:
smoogipoo 2019-11-25 18:28:43 +09:00
parent 5e8f3eb28f
commit 719f0d5947

View File

@ -73,7 +73,7 @@ namespace osu.Game.Screens.Backgrounds
Schedule(() =>
{
if ((Background as BeatmapBackground)?.Beatmap == beatmap)
if ((Background as BeatmapBackground)?.Beatmap.BeatmapInfo.BackgroundEquals(beatmap?.BeatmapInfo) ?? false)
return;
cancellationSource?.Cancel();