Permalink
Browse files

Really fix bug with not being able to change homes

  • Loading branch information...
roncli committed May 22, 2017
1 parent f1e50a1 commit e39e5e0e5e1555a9850e43d001c6d929f3290f47
Showing with 3 additions and 1 deletion.
  1. +3 −1 fusion.js
@@ -581,7 +581,9 @@ Fusion.discordMessages = {
home: {type: db.VARCHAR(50), value: message}
}
).then(() => {
Fusion.discordQueue("You have successfully set one of your home levels to `" + message + "`. You may set " + (2 - homes) + " more home level" + (homes === 1 ? "" : "s") + ". You can use `!resethome` at any point prior to playing a match to reset your home levels.", user);
homes++;
Fusion.discordQueue("You have successfully set one of your home levels to `" + message + "`. You may set " + (3 - homes) + " more home level" + (3 - homes === 1 ? "" : "s") + ". You can use `!resethome` at any point prior to playing a match to reset your home levels.", user);
if (homes === 3 && event.players[user.id]) {
db.query(

0 comments on commit e39e5e0

Please sign in to comment.