Compare commits

..

1 Commits
1.2.0 ... 1.2.1

Author SHA1 Message Date
Stefan Zermatten
ac772531ee Fixed SRD spells not getting a random ID when inserted
fixes #64
fixes #65
2017-05-08 11:21:30 +02:00

View File

@@ -258,6 +258,7 @@ Template.spells.events({
}
// Make the library spell into a regular spell
let spell = _.omit(result, "library", "attacks", "effects");
spell._id = spellId;
spell.charId = charId;
spell.parent = {
id: listId,