Added death sound. Put blank versions in daniel theme

This commit is contained in:
Blade Barringer
2015-01-23 14:59:18 -06:00
parent de59c76609
commit 93c39e81bd
3 changed files with 1 additions and 0 deletions
@@ -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;