private void Main_OnTick() { if (DiscordRPCInfo.rpcClient != null && !DiscordRPCInfo.rpcClient.IsDisposed) { DiscordRPCInfo.Update(); } }
public override void PostUpdate() { if (DiscordRPCInfo.rpcClient != null) { DiscordRPCInfo.Update(); } }