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

Update assertion to also check GameplayClockContainer's current time

This commit is contained in:
Dean Herbert 2023-02-22 15:26:09 +09:00
parent a511e64fa5
commit f61fbcf3fc

View File

@ -177,7 +177,7 @@ namespace osu.Game.Tests.Visual.Gameplay
}
private void waitForCatchUp() =>
AddUntilStep("wait for frame stable clock to catch up", () => Precision.AlmostEquals(Beatmap.Value.Track.CurrentTime, Player.DrawableRuleset.FrameStableClock.CurrentTime));
AddUntilStep("wait for frame stable clock to catch up", () => Precision.AlmostEquals(Player.GameplayClockContainer.CurrentTime, Player.DrawableRuleset.FrameStableClock.CurrentTime));
private void waitForAliveObjectIndex(int? index)
{