1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 18:03:11 +08:00

Load discord RPC asynchronously

This commit is contained in:
Dean Herbert 2019-12-18 14:07:32 +09:00
parent f53fd6e4bc
commit 0a3d339dd9

View File

@ -61,7 +61,7 @@ namespace osu.Desktop
Add(new SimpleUpdateManager()); Add(new SimpleUpdateManager());
} }
Add(new DiscordRichPresenceClient()); LoadComponentAsync(new DiscordRichPresence(), Add);
} }
protected override void ScreenChanged(IScreen lastScreen, IScreen newScreen) protected override void ScreenChanged(IScreen lastScreen, IScreen newScreen)