mirror of https://github.com/ppy/osu
Update assertion to also check `GameplayClockContainer`'s current time
This commit is contained in:
parent
a511e64fa5
commit
f61fbcf3fc
|
@ -177,7 +177,7 @@ private void seekBeforeIndex(int index)
|
|||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue