Sync to v9/v5
This commit is contained in:
@ -137,6 +137,9 @@ const loadCompendium = async (compendium, filter = item => true) => {
|
||||
|
||||
/************************************************************************************/
|
||||
const patch_core_tables = (tableList) => {
|
||||
if ( game.version) { // v9 and above
|
||||
return;
|
||||
}
|
||||
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"));
|
||||
|
Reference in New Issue
Block a user