Skip to content

Commit

Permalink
Tours: Fix a forfeit being reported as failed even though it succeeded (
Browse files Browse the repository at this point in the history
  • Loading branch information
jmclemo6 authored and Zarel committed Feb 20, 2019
1 parent 922a4ce commit 34f90a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/tournaments/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ class Tournament {
this.update();
}
forfeit(user) {
this.disqualifyUser(user.userid, null, "You left the tournament", true);
return this.disqualifyUser(user.userid, null, "You left the tournament", true);
}
onConnect(user, connection) {
this.updateFor(user, connection);
Expand Down

0 comments on commit 34f90a9

Please sign in to comment.