1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 18:53:21 +08:00

Fix nullref

This commit is contained in:
Andrei Zavatski 2019-08-31 16:10:07 +03:00
parent d9beee926a
commit d2f7a653a8

View File

@ -35,6 +35,9 @@ namespace osu.Game.Screens.Play
private void initializeVideo(bool async) private void initializeVideo(bool async)
{ {
if (video == null)
return;
if (drawableVideo != null) if (drawableVideo != null)
return; return;