mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
fix(pets): add questPets to UserSchema.items.mounts too fixes #2814
This commit is contained in:
parent
0c99976bf5
commit
42766125d5
1 changed files with 2 additions and 0 deletions
|
|
@ -183,6 +183,8 @@ var UserSchema = new Schema({
|
|||
mounts: _.defaults(
|
||||
// First transform to a 1D eggs/potions mapping
|
||||
_.transform(shared.content.pets, function(m,v,k){ m[k] = Boolean; }),
|
||||
// Then add quest pets
|
||||
_.transform(shared.content.questPets, function(m,v,k){ m[k] = Boolean; }),
|
||||
// Then add additional pets (backer, contributor)
|
||||
{
|
||||
'LionCub-Ethereal': Boolean,
|
||||
|
|
|
|||
Loading…
Reference in a new issue