mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 18:53:21 +08:00
Fix nullref
This commit is contained in:
parent
d9beee926a
commit
d2f7a653a8
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user