Ajout des actions

This commit is contained in:
2025-03-23 09:26:34 +01:00
parent b2da1db47f
commit dbc179d877
2 changed files with 8 additions and 4 deletions

View File

@@ -361,7 +361,7 @@ async function loadSecretCompendiums() {
});
if (translation) {
let babele = Babele.get()
let entry = mergeObject(translation, { collection: metadata.id })
let entry = foundry.utils.mergeObject(translation, { collection: metadata.id })
babele.translations.push(entry)
console.log(">>>>", babele.translations)
babele.packs.set(metadata.id, new TranslatedCompendium(metadata, entry))