diff --git a/module.json b/module.json index 44a7851..5083ef3 100644 --- a/module.json +++ b/module.json @@ -54,10 +54,14 @@ { "name": "Flip/Neoflip", "flags":{} + }, + { + "name": "Lazarus", + "flags":{} } ], "url": "https://www.uberwald.me/gitea/public/swade-fr-content", - "version": "3.2.2", + "version": "4.4.0", "esmodules": [ "modules/swade-fr-init.js" ], @@ -73,7 +77,7 @@ } ], "manifest": "https://www.uberwald.me/gitea/public/swade-fr-content/raw/branch/master/module.json", - "download": "https://www.uberwald.me/gitea/public/swade-fr-content/archive/swade-fr-content-3.2.2.zip", + "download": "https://www.uberwald.me/gitea/public/swade-fr-content/archive/swade-fr-content-4.4.0.zip", "id": "swade-fr-content", "relationships": { "requires": [ @@ -93,6 +97,6 @@ }, "compatibility": { "minimum": "10", - "verified": "11" + "verified": "12" } } \ No newline at end of file diff --git a/modules/swade-fr-init.js b/modules/swade-fr-init.js index 7d353ea..dc72fab 100644 --- a/modules/swade-fr-init.js +++ b/modules/swade-fr-init.js @@ -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))