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:
parent
5886420a5d
commit
480e489c44
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user