diff --git a/src/Discord.Net.WebSocket/DiscordShardedClient.cs b/src/Discord.Net.WebSocket/DiscordShardedClient.cs index 77970ba8f..d7f26a30c 100644 --- a/src/Discord.Net.WebSocket/DiscordShardedClient.cs +++ b/src/Discord.Net.WebSocket/DiscordShardedClient.cs @@ -294,7 +294,7 @@ namespace Discord.WebSocket client.Ready += async () => { CurrentUser = client.CurrentUser; - if (_totalShards >= _shardsReady++) //to account for re-identifies, don't see a better way to handle this + if (_shardsReady++ >= _totalShards) //to account for re-identifies, don't see a better way to handle this { await _readyEvent.InvokeAsync(); } @@ -306,7 +306,7 @@ namespace Discord.WebSocket client.Ready += async () => { await _shardReadyEvent.InvokeAsync(client); - if (_totalShards >= _shardsReady++) //to account for re-identifies, don't see a better way to handle this + if (_shardsReady++ >= _totalShards) //to account for re-identifies, don't see a better way to handle this { await _readyEvent.InvokeAsync(); }