1
0
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:
Lucas A 2020-03-26 17:09:22 +01:00
parent a141e2e8b7
commit 01c9112f82

View File

@ -55,6 +55,8 @@ namespace osu.Game.Storyboards.Drawables
{
base.LoadComplete();
if (videoSprite == null) return;
using (videoSprite.BeginAbsoluteSequence(0))
videoSprite.FadeIn(500);
}