Removed extra achievement sound (#9763)

This commit is contained in:
Keith Holliday
2018-01-04 10:17:33 -06:00
committed by GitHub
parent 7df3aba71b
commit 15b65b342a

View File

@@ -270,9 +270,6 @@ export default {
if (this.user.needsCron) return;
this.handleUserNotifications(after);
},
userAchievements () {
this.playSound('Achievement_Unlocked');
},
armoireEmpty (after, before) {
if (after === before || after === false) return;
this.$root.$emit('bv::show::modal', 'armoire-empty');
@@ -280,6 +277,7 @@ export default {
questCompleted () {
if (!this.questCompleted) return;
this.$root.$emit('bv::show::modal', 'quest-completed');
this.playSound('Achievement_Unlocked');
},
invitedToQuest (after) {
if (after !== true) return;
@@ -326,10 +324,12 @@ export default {
if (this.questCompleted) {
this.$root.$emit('bv::show::modal', 'quest-completed');
this.playSound('Achievement_Unlocked');
}
if (this.userClassSelect) {
this.$root.$emit('bv::show::modal', 'choose-class');
this.playSound('Achievement_Unlocked');
}
},
showLevelUpNotifications (newlevel) {