Force update of mountCount after feedling

This commit is contained in:
Blade Barringer 2015-01-10 09:22:53 -06:00
parent c6ef4b52ab
commit a5d6c9de3f

View file

@ -130,6 +130,7 @@ habitrpg.controller("InventoryCtrl",
}
User.user.ops.feed({params:{pet: pet, food: food.key}});
$scope.selectedFood = null;
$rootScope.mountCount = Shared.countMounts(null, User.user.items.mounts);
// Checks if mountmaster has been reached for the first time
if(!User.user.achievements.mountMaster