mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Remove countPets and countMounts from codebase
This commit is contained in:
@@ -92,8 +92,6 @@ habitrpg.controller("InventoryCtrl",
|
||||
$scope.selectedEgg = null;
|
||||
$scope.selectedPotion = null;
|
||||
|
||||
$rootScope.petCount = Shared.countPets($rootScope.countExists(User.user.items.pets), User.user.items.pets);
|
||||
|
||||
// Checks if beastmaster has been reached for the first time
|
||||
if(!User.user.achievements.beastMaster
|
||||
&& $rootScope.petCount >= 90) {
|
||||
|
||||
Reference in New Issue
Block a user