Permalink
Browse files

Allow pilots to change their home level if they don't have one yet, r…

…egardless if the tourney's started or not.
  • Loading branch information...
roncli committed Jan 7, 2017
1 parent 99502d6 commit a383a04fdcf78509d57d101dca58d20c4686fc71
Showing with 1 addition and 1 deletion.
  1. +1 −1 fusion.js
@@ -354,7 +354,7 @@ Fusion.discordMessages = {
return;
}
if (event.round && event.round > 0 || event.matches && event.matches.length > 0) {
if (event.players[user.id].home && (event.round && event.round > 0 || event.matches && event.matches.length > 0)) {
Fusion.discordQueue("Sorry, " + user + ", but you cannot change your home level after the tournament has started.", channel);
return;
}

0 comments on commit a383a04

Please sign in to comment.