Fixed some bugs with characters not recomputing
TODO: remove .variables cache from creature document, it's not viable
This commit is contained in:
@@ -67,6 +67,7 @@ function getCreature(creatureId) {
|
||||
const creature = Creatures.findOne(creatureId, {
|
||||
denormalizedStats: 1,
|
||||
variables: 1,
|
||||
dirty: 1,
|
||||
});
|
||||
console.timeEnd(`Cache miss on Creature: ${creatureId}`);
|
||||
return creature;
|
||||
|
||||
Reference in New Issue
Block a user