forked from public/foundryvtt-wh4-lang-fr-fr
v5.2 sync
This commit is contained in:
@ -142,7 +142,7 @@ const patch_core_tables = (tableList) => {
|
||||
}
|
||||
FilePicker.browse("data", "modules/WH4-fr-translation/tables/").then(resp => {
|
||||
for (var file of resp.files) {
|
||||
let filename = file.substring(file.lastIndexOf("/")+1, file.indexOf(".json"));
|
||||
let filename = file.substring(file.lastIndexOf("/")+1, file.indexOf(".json"))
|
||||
if ( tableList[filename] == 1 ) { // Matching table name -> patch !
|
||||
fetch(file).then(r=>r.json()).then(records => {
|
||||
//console.log("Patch !!!", filename, records);
|
||||
|
Reference in New Issue
Block a user