Migrate to v10

This commit is contained in:
sladecraven 2022-10-09 22:02:28 +02:00
parent 067418e4c4
commit 5746fd1bc3

View File

@ -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
},