Skip to content

Commit

Permalink
Fixed connection
Browse files Browse the repository at this point in the history
  • Loading branch information
LakeYS committed Jun 27, 2017
1 parent fb2729b commit 98315e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ client.on('ready', () => {
}

// Wait until the Discord client is ready before connecting to the game.
if(connectionInitialized !== 0)
if(connectionInitialized !== 1)
{
connectionInitialized = 1; // Make sure we only do this once
connection.connect(params);
Expand Down

0 comments on commit 98315e2

Please sign in to comment.