mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 09:03:50 +09: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:
@ -47,9 +47,6 @@ namespace osu.Game.Storyboards
|
|||||||
if (backgroundPath == null)
|
if (backgroundPath == null)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (GetLayer("Video").Elements.Any())
|
|
||||||
return true;
|
|
||||||
|
|
||||||
return GetLayer("Background").Elements.Any(e => e.Path.ToLowerInvariant() == backgroundPath);
|
return GetLayer("Background").Elements.Any(e => e.Path.ToLowerInvariant() == backgroundPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user