1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 14:12:56 +08:00

add back missing loaded check

This commit is contained in:
David Zhao 2019-08-14 12:51:43 +09:00
parent 5886420a5d
commit 480e489c44

View File

@ -145,7 +145,7 @@ namespace osu.Game.Tests.Visual.Menus
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)
{