mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 17:32:54 +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() =>
|
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)
|
private void waitForAliveObjectIndex(int? index)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user