diff --git a/public/audio/danielTheBard/Death.mp3 b/public/audio/danielTheBard/Death.mp3 new file mode 100644 index 0000000000..e69de29bb2 diff --git a/public/audio/danielTheBard/Death.ogg b/public/audio/danielTheBard/Death.ogg new file mode 100644 index 0000000000..e69de29bb2 diff --git a/public/js/controllers/notificationCtrl.js b/public/js/controllers/notificationCtrl.js index dae22b9d0f..6c30b511c2 100644 --- a/public/js/controllers/notificationCtrl.js +++ b/public/js/controllers/notificationCtrl.js @@ -6,6 +6,7 @@ habitrpg.controller('NotificationCtrl', $rootScope.$watch('user.stats.hp', function (after, before) { if (after <= 0){ + $rootScope.playSound('Death'); $rootScope.openModal('death', {keyboard:false, backdrop:'static'}); } if (after == before) return;