mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 01:47:24 +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);
|
AddInternal(video);
|
||||||
video.RelativeSizeAxes = Axes.Both;
|
video.RelativeSizeAxes = Axes.Both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[BackgroundDependencyLoader]
|
||||||
|
private void load(GameplayClock clock)
|
||||||
|
{
|
||||||
|
if (clock != null)
|
||||||
|
Clock = clock;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user