Setup new compendiums
This commit is contained in:
@ -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;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user