mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +01:00
Removed extra achievement sound (#9763)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user