1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 04:52:57 +08:00

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
commit d994b4c13c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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