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:
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user