halloween: some unlocking bug fixes (appears a markModified was required)

This commit is contained in:
Tyler Renelle
2013-10-22 13:37:55 -07:00
parent d184237c79
commit 619c00fb5c
3 changed files with 4 additions and 7 deletions

View File

@@ -71,8 +71,8 @@ var UserSchema = new Schema({
purchased: {
ads: {type: Boolean, 'default': false},
skin: Schema.Types.Mixed, // eg, {skeleton: true, pumpkin: true, eb052b: true}
hair: Schema.Types.Mixed
skin: {type: Schema.Types.Mixed, 'default': {}}, // eg, {skeleton: true, pumpkin: true, eb052b: true}
hair: {type: Schema.Types.Mixed, 'default': {}}
},
flags: {