Permalink
Browse files

Fix bugs with removing player.

  • Loading branch information...
roncli committed Jan 9, 2017
1 parent a383a04 commit 053e5be668fa8c009c69e69704c5f747b13189b5
Showing with 2 additions and 6 deletions.
  1. +2 −6 fusion.js
@@ -673,12 +673,8 @@ Fusion.discordMessages = {
return;
}
event.players[removedUser.id] = {
home: undefined,
canHost: true
};
user.addRole(eventRole);
event.players[user.id].withdrawn = true;
user.removeRole(eventRole);
Fusion.discordQueue("You have been successfully removed " + removedUser.displayName + " from the event.", user);
Fusion.discordQueue(obsDiscord.members.get(user.id).displayName + " has removed you from the next event! If this is in error, please contact " + obsDiscord.members.get(user.id).displayName + ".", removedUser);
Fusion.discordQueue(removedUser.displayName + " has been removed from the tournament.", generalChannel);

0 comments on commit 053e5be

Please sign in to comment.