1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 05:39:57 +08:00

Don't update rich presence if the rpc client isn't initialized.

This commit is contained in:
Lucas A
2020-01-11 16:03:00 +01:00
Unverified
parent 9a9c01bc92
commit ec95cbd0af
+3
View File
@@ -75,6 +75,9 @@ namespace osu.Desktop
private void updateStatus()
{
if (!client.IsInitialized)
return;
if (status.Value is UserStatusOffline)
{
client.ClearPresence();