Skip to content

Commit

Permalink
Tournaments: fix pending challenge message
Browse files Browse the repository at this point in the history
  • Loading branch information
sirDonovan authored Aug 24, 2018
1 parent 18140ca commit 0e62e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tournaments/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class Tournament {
if (pendingChallenge.to) {
connection.sendTo(this.room, `|tournament|update|${JSON.stringify({challenging: pendingChallenge.to.name})}`);
} else if (pendingChallenge.from) {
connection.sendTo(this.room, `|tournament|update|${JSON.stringify({challenging: pendingChallenge.from.name})}`);
connection.sendTo(this.room, `|tournament|update|${JSON.stringify({challenged: pendingChallenge.from.name})}`);
}
}
}
Expand Down

0 comments on commit 0e62e29

Please sign in to comment.