mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 04:42:58 +08:00
add back missing loaded check
This commit is contained in:
parent
5886420a5d
commit
480e489c44
@ -145,7 +145,7 @@ namespace osu.Game.Tests.Visual.Menus
|
|||||||
confirmAtMainMenu();
|
confirmAtMainMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void confirmAtMainMenu() => AddUntilStep("Wait for main menu", () => osuGame.ScreenStack.CurrentScreen is MainMenu);
|
private void confirmAtMainMenu() => AddUntilStep("Wait for main menu", () => osuGame.ScreenStack.CurrentScreen is MainMenu menu && menu.IsLoaded);
|
||||||
|
|
||||||
private void pressAndRelease(Key key)
|
private void pressAndRelease(Key key)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user