Minor fixes

This commit is contained in:
2021-05-30 19:41:55 +02:00
parent d8095a10c0
commit 9d5883ca8d
3 changed files with 4 additions and 4 deletions

View File

@ -140,7 +140,7 @@ const __check_fix_wrong_modules = ( chatFlag, patchFinished ) => {
});
}
if ( name == "wfrp4e-rnhd" && module.active ) {
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 => {