Fix test scene failures by ensuring that first GameplayClock frame has processed first

This commit is contained in:
Dean Herbert 2022-03-02 14:45:39 +09:00
parent 763f881d4a
commit ed9ecd6951

View File

@ -131,9 +131,9 @@ namespace osu.Game.Tests.Visual.Gameplay
public double GameplayClockTime => GameplayClockContainer.GameplayClock.CurrentTime;
protected override void Update()
protected override void UpdateAfterChildren()
{
base.Update();
base.UpdateAfterChildren();
if (!FirstFrameClockTime.HasValue)
{