Removing effects or other properties now correctly triggers a recalculation of the character

This commit is contained in:
Thaum Rystra
2020-05-08 15:51:54 +02:00
parent 6506cfd727
commit 4d0ff52853

View File

@@ -279,6 +279,7 @@ const softRemoveProperty = new ValidatedMethod({
let property = CreatureProperties.findOne(_id);
assertPropertyEditPermission(property, this.userId);
softRemove({_id, collection: CreatureProperties});
recomputeCreatures(property);
}
});