1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 12:40:18 +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
Unverified
parent a511e64fa5
commit f61fbcf3fc
@@ -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)
{