From 5746fd1bc36ce0a3adc43bbfec8892b4c7da83ae Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sun, 9 Oct 2022 22:02:28 +0200 Subject: [PATCH] Migrate to v10 --- module/modules/swade-fr-init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/modules/swade-fr-init.js b/module/modules/swade-fr-init.js index 84899b2..e3923ca 100644 --- a/module/modules/swade-fr-init.js +++ b/module/modules/swade-fr-init.js @@ -82,7 +82,7 @@ Hooks.once('init', () => { let transl = skill if (skill) { let translated = game.babele.translate( "swade-core-rules.swade-skills", {name: skill.trim()}, true ) - transl = translated.name + transl = translated.name || skill.trim() } return transl },