mirror of
https://github.com/ppy/osu.git
synced 2025-03-05 12:32:58 +08:00
Removed Update() override from DiscordRichPresenceClient because client.Invoke() is unecessary (events callbacks are automatically called)
This commit is contained in:
parent
b38160177a
commit
a4166ce1e3
@ -100,13 +100,5 @@ namespace osu.Desktop
|
|||||||
LargeImageText = user.Value.Username
|
LargeImageText = user.Value.Username
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
protected override void Update()
|
|
||||||
{
|
|
||||||
if (client.IsInitialized)
|
|
||||||
client?.Invoke();
|
|
||||||
|
|
||||||
base.Update();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user