diff --git a/addon-register.js b/addon-register.js index f2f37aa..e4daf3a 100644 --- a/addon-register.js +++ b/addon-register.js @@ -273,7 +273,7 @@ const __check_fix_wrong_modules = ( chatFlag, patchFinished ) => { fetch(file).then(r=>r.json()).then(records => { console.log("Patch !!!", filename, records); //WFRP_Tables[filename] = records; - //game.wfrp4e.tables[filename] = records; + game.wfrp4e.tables[filename] = records; }); } } @@ -398,10 +398,10 @@ Hooks.once('ready', () => { if (game.user.isGM) ChatMessage.create( { title: "Patch en progression", content: "Les modules WFRP4E sont en cours de patch pour traduction... Merci d'attendre le message de fin (dans environ 20 secondes)", whisper: ChatMessage.getWhisperRecipients("GM") } ); - //setTimeout( __check_fix_wrong_modules, 2000, true, false); - //setTimeout( __check_fix_wrong_modules, 10000, false, false); - //setTimeout( __check_fix_wrong_modules, 20000, false, true); - //setTimeout( __add_actors_translation, 21000, false, true); + setTimeout( __check_fix_wrong_modules, 2000, true, false); + setTimeout( __check_fix_wrong_modules, 10000, false, false); + setTimeout( __check_fix_wrong_modules, 20000, false, true); + setTimeout( __add_actors_translation, 21000, false, true); let compmod = "wfrp4e"; // Check various settings in the installation diff --git a/module.json b/module.json index 632d473..f2d17d2 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.6", + "version": "1.3.7", "minimumCoreVersion" : "0.6.6", "compatibleCoreVersion": "1.0.0", "author": "LeRatierBretonnien",