fix(stable): default to empty string for current animals

This commit is contained in:
Sabe Jones
2024-01-09 17:45:57 -06:00
parent 5300de834f
commit 2e904dcda0

View File

@@ -381,7 +381,7 @@ export const UserSchema = new Schema({
$type: Schema.Types.Mixed, $type: Schema.Types.Mixed,
default: () => ({}), default: () => ({}),
}, },
currentPet: String, // Cactus-Desert currentPet: { $type: String, default: '' }, // Cactus-Desert
// eggs: { // eggs: {
// 'PandaCub': 0, // 0 indicates "doesn't own" // 'PandaCub': 0, // 0 indicates "doesn't own"
@@ -419,7 +419,7 @@ export const UserSchema = new Schema({
$type: Schema.Types.Mixed, $type: Schema.Types.Mixed,
default: () => ({}), default: () => ({}),
}, },
currentMount: String, currentMount: { $type: String, default: '' }, // Cactus-Desert
// Quests: { // Quests: {
// 'boss_0': 0, // 0 indicates "doesn't own" // 'boss_0': 0, // 0 indicates "doesn't own"