Permalink
Browse files

Also disallow force reporting for the same reason.

  • Loading branch information...
roncli committed Mar 7, 2017
1 parent 4bf850a commit 2b6f07d354bc534286770d41370ea5c0a982a110
Showing with 7 additions and 1 deletion.
  1. +7 −1 fusion.js
@@ -1107,7 +1107,8 @@ Fusion.discordMessages = {
Fusion.discordQueue("There was a database problem generating the next round of matches! See the error log for details.", user);
});
},
// TODO: !forcechoose [a|b|c]
choose: (from, user, channel, message) => {
"use strict";
@@ -1286,6 +1287,11 @@ Fusion.discordMessages = {
return;
}
if (!eventMatch.homeSelected) {
Fusion.discordQueue("Sorry, " + user + ", but no home level has been set for this match. See the instructions in " + eventMatch.channel + " to get a home level selected for this match.", channel);
return;
}
eventMatch.winner = matches[1];
eventMatch.score = [score1, score2];

0 comments on commit 2b6f07d

Please sign in to comment.