Add a null check to prevent NRE when playing the "no video" version of a beatmap.

This commit is contained in:
Lucas A 2020-03-26 17:09:22 +01:00
parent a141e2e8b7
commit 01c9112f82
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@ protected override void LoadComplete()
{
base.LoadComplete();
if (videoSprite == null) return;
using (videoSprite.BeginAbsoluteSequence(0))
videoSprite.FadeIn(500);
}