1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Merge pull request #16910 from peppy/fix-storyboard-background-replacement

Fix storyboard background replacement logic not working for beatmaps with multiple backgrounds
This commit is contained in:
Dan Balasescu 2022-02-18 19:08:52 +09:00 committed by GitHub
commit 65ffcefdf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ namespace osu.Game.Storyboards
{
get
{
string backgroundPath = BeatmapInfo.BeatmapSet?.Metadata.BackgroundFile;
string backgroundPath = BeatmapInfo.Metadata.BackgroundFile;
if (string.IsNullOrEmpty(backgroundPath))
return false;