mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
Fix stutters when changing beatmap difficulties
This commit is contained in:
parent
5e8f3eb28f
commit
719f0d5947
@ -73,7 +73,7 @@ namespace osu.Game.Screens.Backgrounds
|
|||||||
|
|
||||||
Schedule(() =>
|
Schedule(() =>
|
||||||
{
|
{
|
||||||
if ((Background as BeatmapBackground)?.Beatmap == beatmap)
|
if ((Background as BeatmapBackground)?.Beatmap.BeatmapInfo.BackgroundEquals(beatmap?.BeatmapInfo) ?? false)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
cancellationSource?.Cancel();
|
cancellationSource?.Cancel();
|
||||||
|
Loading…
Reference in New Issue
Block a user