mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08:00
Fix unintentionally broken background update logic
This commit is contained in:
parent
4b1b92cde6
commit
a5a7181915
@ -60,8 +60,10 @@ namespace osu.Game.Screens.OnlinePlay.Components
|
|||||||
{
|
{
|
||||||
Schedule(() =>
|
Schedule(() =>
|
||||||
{
|
{
|
||||||
|
var beatmap = playlistItem?.Beatmap.Value;
|
||||||
|
|
||||||
string? lastCover = (background?.Beatmap?.BeatmapSet as IBeatmapSetOnlineInfo)?.Covers.Cover;
|
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)
|
if (lastCover == newCover)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user