From 8cb8b2257e403b5da01472cdb4920e6cbe58f0bb Mon Sep 17 00:00:00 2001 From: sladecraven Date: Thu, 5 Nov 2020 23:14:01 +0100 Subject: [PATCH] Setup new compendiums --- addon-register.js | 5 ++++- module.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/addon-register.js b/addon-register.js index 531208b..2f3b6d2 100644 --- a/addon-register.js +++ b/addon-register.js @@ -1,3 +1,6 @@ +/************************************************************************************/ +import WFRP_Tables from "/systems/wfrp4e/system/tables-wfrp4e.js"; +import WFRP4E from "./modules/system/config-wfrp4e.js"; /************************************************************************************/ const _patch_eis = () => { @@ -269,7 +272,7 @@ const __check_fix_wrong_modules = ( chatFlag, patchFinished ) => { let filename = file.substring(file.lastIndexOf("/")+1, file.indexOf(".json")); if ( __wfrp4e_tables[filename] == 1 ) { // Matching table name -> patch ! fetch(file).then(r=>r.json()).then(records => { - game.wfrp4e.tables[filename] = records; + WFRP_Tables[filename] = records; }); } } diff --git a/module.json b/module.json index 8d27927..09cf9c9 100644 --- a/module.json +++ b/module.json @@ -3,7 +3,7 @@ "name": "WH4-fr-translation", "title": "Traduction du module WH4 en Français.", "description": "La traduction du module WH4.", - "version": "1.3.2", + "version": "1.3.3", "minimumCoreVersion" : "0.6.6", "compatibleCoreVersion": "1.0.0", "author": "LeRatierBretonnien",