mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
Force update of mountCount after feedling
This commit is contained in:
parent
c6ef4b52ab
commit
a5d6c9de3f
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue