1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 03:02:54 +08:00

Wait for track to start running instead

This commit is contained in:
iiSaLMaN 2019-09-26 02:23:18 +03:00
parent 714727dec9
commit 186ea98217

View File

@ -41,10 +41,8 @@ namespace osu.Game.Rulesets.Osu.Tests
{
base.SetUpSteps();
AddUntilStep("wait for track to start running", () => track.IsRunning);
AddStep("retrieve spinner", () => drawableSpinner = (DrawableSpinner)((TestPlayer)Player).DrawableRuleset.Playfield.AllHitObjects.First());
// wait for frame stable clock time to hit 0 (for some reason, executing a seek while current time is below 0 doesn't seek successfully)
addSeekStep(0);
}
[Test]