Open thatlonelybugbear opened 1 year ago
for (let i of game.folders.getName("name of folder").contents) { if (!i.flags["scope"]?.sourceId) await i.setFlag("scope","key","value") }
Hundreds of thousands such callbacks are being registered for each item that is getting updated.
Without Compendium Browser module active, no such issue.
Hundreds of thousands such callbacks are being registered for each item that is getting updated.
Without Compendium Browser module active, no such issue.