mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Fix crashing when changing user status before rich presence is… (#7498)
Fix crashing when changing user status before rich presence is initialised
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