diff --git a/public/js/controllers/notificationCtrl.js b/public/js/controllers/notificationCtrl.js index 0c2afc9624..3cdb16d83a 100644 --- a/public/js/controllers/notificationCtrl.js +++ b/public/js/controllers/notificationCtrl.js @@ -85,6 +85,7 @@ habitrpg.controller('NotificationCtrl', // Keep support for another type of drops that might be added Notification.drop(User.user._tmp.drop.dialog); } + $rootScope.playSound('Item_Drop'); }); $rootScope.$watch('user.achievements.streak', function(after, before){ @@ -144,6 +145,7 @@ habitrpg.controller('NotificationCtrl', if (after == before) return; if (after > before) { Notification.lvl(); + $rootScope.playSound('Level_Up'); } }); diff --git a/public/js/controllers/tasksCtrl.js b/public/js/controllers/tasksCtrl.js index ec44bd0768..130407f9ab 100644 --- a/public/js/controllers/tasksCtrl.js +++ b/public/js/controllers/tasksCtrl.js @@ -157,6 +157,7 @@ habitrpg.controller("TasksCtrl", ['$scope', '$rootScope', '$location', 'User','N $scope.buy = function(item) { User.user.ops.buy({params:{key:item.key}}); + $rootScope.playSound('Reward'); };