mirror of
https://github.com/ppy/osu.git
synced 2026-05-25 02:29:54 +08:00
Don't update rich presence if the rpc client isn't initialized.
This commit is contained in:
@@ -75,6 +75,9 @@ namespace osu.Desktop
|
||||
|
||||
private void updateStatus()
|
||||
{
|
||||
if (!client.IsInitialized)
|
||||
return;
|
||||
|
||||
if (status.Value is UserStatusOffline)
|
||||
{
|
||||
client.ClearPresence();
|
||||
|
||||
Reference in New Issue
Block a user