mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Update framework and add "Async" suffix to asynchronous methods
This commit is contained in:
@ -93,7 +93,7 @@ namespace osu.Game.Screens.Menu
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuGame game, OsuColour colours)
|
||||
{
|
||||
(intro = new Intro()).Preload(game);
|
||||
(intro = new Intro()).LoadAsync(game);
|
||||
|
||||
iconColour = colours.Yellow;
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ namespace osu.Game.Screens.Menu
|
||||
{
|
||||
bgm.Start();
|
||||
|
||||
(mainMenu = new MainMenu()).Preload(Game);
|
||||
(mainMenu = new MainMenu()).LoadAsync(Game);
|
||||
|
||||
Scheduler.AddDelayed(delegate
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ namespace osu.Game.Screens.Menu
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuGame game)
|
||||
{
|
||||
background.Preload(game);
|
||||
background.LoadAsync(game);
|
||||
|
||||
buttons.OnSettings = game.ToggleOptions;
|
||||
}
|
||||
|
Reference in New Issue
Block a user