diff --git a/server/tournaments/index.js b/server/tournaments/index.js index 42c264700288..039cea3b8aa6 100644 --- a/server/tournaments/index.js +++ b/server/tournaments/index.js @@ -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);