mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Add a null check to prevent NRE when playing the "no video" version of a beatmap.
This commit is contained in:
parent
a141e2e8b7
commit
01c9112f82
@ -55,6 +55,8 @@ namespace osu.Game.Storyboards.Drawables
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
if (videoSprite == null) return;
|
||||
|
||||
using (videoSprite.BeginAbsoluteSequence(0))
|
||||
videoSprite.FadeIn(500);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user