mirror of
https://github.com/osukey/osukey.git
synced 2025-06-23 20:27:58 +09:00
Fix beatmap background not displaying when video is present
This commit is contained in:
parent
f9bc64ebca
commit
c5f8bbb25f
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user