Began migration of queries to nested sets

This commit is contained in:
Thaum Rystra
2023-10-03 16:28:20 +02:00
parent 28a19f2037
commit f63d2ad254
41 changed files with 242 additions and 392 deletions

View File

@@ -2,11 +2,8 @@ import computeCreature from '/imports/api/engine/computeCreature';
/**
* Recomputes all ancestor creatures of this property
* @deprecated
*/
export default function recomputeCreaturesByProperty(property) {
for (let ref of property.ancestors) {
if (ref.collection === 'creatures') {
computeCreature.call(ref.id);
}
}
computeCreature.call(property.root.id);
}