fix Stable component to correctly count pets (#9182)
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user