mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 14:12:54 +08:00
Fix video doesn't use gameplay clock
This commit is contained in:
parent
d55be4d59c
commit
5dd688a51b
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user