Permalink
Browse files

fix Stable component to correctly count pets (#9182)

  • Loading branch information...
trvrfrd authored and SabreCat committed Oct 15, 2017
1 parent ca81ff5 commit f2fed7ea3907854d440cb38cce72d3a2c189438d
Showing with 2 additions and 1 deletion.
  1. +2 −1 website/client/components/inventory/stable/index.vue
@@ -831,7 +831,8 @@
let countAll = animals.length;
let countOwned = _filter(animals, (a) => {
return a.isOwned();
// when counting pets, include those that have been raised into mounts
return a.isOwned() || a.mountOwned();
});
return `${countOwned.length}/${countAll}`;

0 comments on commit f2fed7e

Please sign in to comment.