Skip to content

Commit

Permalink
(DiscordRPC) Reset _firstTimeConnect for new client
Browse files Browse the repository at this point in the history
  • Loading branch information
shatyuka committed Mar 5, 2024
1 parent edeccdc commit efa3bef
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ private void EnablePresence(long applicationId)
_lastApplicationId = applicationId;
}

_firstTimeConnect = true;

// Initialize Discord RPC client
_client = new DiscordRpcClient(applicationId.ToString());
_client.OnReady += (_, msg) =>
Expand Down

0 comments on commit efa3bef

Please sign in to comment.