Fixed some bugs with characters not recomputing

TODO: remove .variables cache from creature document, it's not viable
This commit is contained in:
Stefan Zermatten
2022-06-23 08:39:48 +02:00
parent b484a27637
commit b2f89eceee
6 changed files with 17 additions and 7 deletions

View File

@@ -133,7 +133,7 @@ const doAction = new ValidatedMethod({
Creatures.update({
_id: { $in: [creature._id, ...targetIds] }
}, {
dirty: true
$set: { dirty: true },
});
},
});