1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-01 23:40:39 +08:00

Fix unintentionally broken background update logic

This commit is contained in:
Dean Herbert
2021-11-04 15:35:32 +09:00
Unverified
parent 5a078da4d9
commit df3c3a32ce
@@ -60,8 +60,10 @@ namespace osu.Game.Screens.OnlinePlay.Components
{
Schedule(() =>
{
var beatmap = playlistItem?.Beatmap.Value;
string? lastCover = (background?.Beatmap?.BeatmapSet as IBeatmapSetOnlineInfo)?.Covers.Cover;
string? newCover = (background?.Beatmap?.BeatmapSet as IBeatmapSetOnlineInfo)?.Covers.Cover;
string? newCover = (beatmap?.BeatmapSet as IBeatmapSetOnlineInfo)?.Covers.Cover;
if (lastCover == newCover)
return;