From eb63a7a7f32a7efa477a1e569382d0ecda621e68 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Tue, 30 Jul 2019 10:01:23 +0200 Subject: [PATCH] made XP optional in experiences, so that experiences can just be journal entries --- app/imports/api/creature/properties/Experiences.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/imports/api/creature/properties/Experiences.js b/app/imports/api/creature/properties/Experiences.js index 71fa32bc..42698978 100644 --- a/app/imports/api/creature/properties/Experiences.js +++ b/app/imports/api/creature/properties/Experiences.js @@ -27,7 +27,7 @@ let ExperienceSchema = schema({ // The amount of XP this experience gives value: { type: SimpleSchema.Integer, - defaultValue: 0 + optional: true, }, // The real-world date that it occured date: {