mirror of https://github.com/ppy/osu
Load discord RPC asynchronously
This commit is contained in:
parent
f53fd6e4bc
commit
0a3d339dd9
|
@ -61,7 +61,7 @@ protected override void LoadComplete()
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue