fix(pets): add questPets to UserSchema.items.mounts too fixes #2814

This commit is contained in:
Tyler Renelle 2014-02-10 19:51:53 -07:00
parent 0c99976bf5
commit 42766125d5

View file

@ -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,