Merge pull request #8751 from peppy/fix-missing-background-when-video

Fix beatmap background not displaying when video is present
This commit is contained in:
Dan Balasescu
2020-04-14 13:52:17 +09:00
committed by GitHub

View File

@ -47,9 +47,6 @@ namespace osu.Game.Storyboards
if (backgroundPath == null)
return false;
if (GetLayer("Video").Elements.Any())
return true;
return GetLayer("Background").Elements.Any(e => e.Path.ToLowerInvariant() == backgroundPath);
}
}