mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Update async load usage to new style.
This commit is contained in:
@ -20,9 +20,9 @@ namespace osu.Game.Screens
|
||||
private void load(OsuGame game)
|
||||
{
|
||||
if (game.IsDeployedBuild)
|
||||
new Disclaimer().LoadAsync(game, d => Push((Screen)d));
|
||||
LoadComponentAsync(new Disclaimer(), d => Push((Screen)d));
|
||||
else
|
||||
new Intro().LoadAsync(game, d => Push((Screen)d));
|
||||
LoadComponentAsync(new Intro(), d => Push((Screen)d));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user