1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-23 00:07:24 +08:00

Fix video doesn't use gameplay clock

This commit is contained in:
Andrei Zavatski 2019-08-31 00:09:23 +03:00
parent d55be4d59c
commit 5dd688a51b

View File

@ -59,6 +59,13 @@ namespace osu.Game.Screens.Play
AddInternal(video);
video.RelativeSizeAxes = Axes.Both;
}
[BackgroundDependencyLoader]
private void load(GameplayClock clock)
{
if (clock != null)
Clock = clock;
}
}
}
}