mirror of https://github.com/ppy/osu
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 @@ protected override void LoadComplete()
|
|||
{
|
||||
base.LoadComplete();
|
||||
|
||||
if (videoSprite == null) return;
|
||||
|
||||
using (videoSprite.BeginAbsoluteSequence(0))
|
||||
videoSprite.FadeIn(500);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue