feat(sharing): More achievements

This commit is contained in:
Sabe Jones
2015-11-10 00:08:17 -05:00
parent eed4207c6d
commit 875f2ac552
4 changed files with 65 additions and 55 deletions

View File

@@ -128,7 +128,7 @@ habitrpg.controller("InventoryCtrl",
if(!user.achievements.beastMaster
&& $scope.petCount >= 90) {
User.user.achievements.beastMaster = true;
$rootScope.openModal('achievements/beastMaster');
$rootScope.openModal('achievements/beastMaster', {controller:'UserCtrl'});
}
// Checks if Triad Bingo has been reached for the first time