Fix career + ajout traduction de tables
This commit is contained in:
@ -143,7 +143,7 @@ const __check_fix_wrong_modules = ( chatFlag, patchFinished ) => {
|
||||
if ( name == "wfrp4e-rnhd" && module.active && game.wfrp4e.tables.career) {
|
||||
game.wfrp4e.tables.career.name = "Carrières aléatoires";
|
||||
|
||||
FilePicker.browse("data", "modules/WH4-fr-translation/tables/").then(resp => {
|
||||
/*FilePicker.browse("data", "modules/WH4-fr-translation/tables/").then(resp => {
|
||||
for (var file of resp.files) {
|
||||
if ( file.match("career_gnome.json") ) {
|
||||
fetch(file).then(r=>r.json()).then(records => {
|
||||
@ -156,7 +156,7 @@ const __check_fix_wrong_modules = ( chatFlag, patchFinished ) => {
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
});*/
|
||||
WH4FRPatchConfig.perform_rnhd_patch();
|
||||
|
||||
if (game.user.isGM && chatFlag)
|
||||
|
Reference in New Issue
Block a user