1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Fix beatmap background not displaying when video is present

This commit is contained in:
Dean Herbert 2020-04-14 11:56:37 +09:00
parent f9bc64ebca
commit c5f8bbb25f

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);
}
}