From f2fed7ea3907854d440cb38cce72d3a2c189438d Mon Sep 17 00:00:00 2001 From: Trevor Ford Date: Sun, 15 Oct 2017 13:20:40 -0400 Subject: [PATCH] fix Stable component to correctly count pets (#9182) --- website/client/components/inventory/stable/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/client/components/inventory/stable/index.vue b/website/client/components/inventory/stable/index.vue index 01516f484b..b43aa79e5e 100644 --- a/website/client/components/inventory/stable/index.vue +++ b/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}`;