mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 18:07:23 +08:00
Fix osu!catch test failures due to trying to retrieve container too early
This commit is contained in:
parent
d1075cabbd
commit
a50ca0a1ed
@ -123,7 +123,10 @@ namespace osu.Game.Rulesets.Catch.Tests
|
|||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Scale = new Vector2(4f),
|
Scale = new Vector2(4f),
|
||||||
}, skin);
|
}, skin);
|
||||||
|
});
|
||||||
|
|
||||||
|
AddStep("get trails container", () =>
|
||||||
|
{
|
||||||
trails = catcherArea.OfType<CatcherTrailDisplay>().Single();
|
trails = catcherArea.OfType<CatcherTrailDisplay>().Single();
|
||||||
catcherArea.MovableCatcher.SetHyperDashState(2);
|
catcherArea.MovableCatcher.SetHyperDashState(2);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user