Fix for #55
This commit is contained in:
parent
dc237b8425
commit
eb61db0030
@ -240,12 +240,12 @@ Hooks.once('init', () => {
|
|||||||
var s1 = res[1].trim(); // No () in talents table
|
var s1 = res[1].trim(); // No () in talents table
|
||||||
var translw = game.babele.translate(compmod+'.talents', { name: s1 }, true ).name;
|
var translw = game.babele.translate(compmod+'.talents', { name: s1 }, true ).name;
|
||||||
if (translw != s1) {
|
if (translw != s1) {
|
||||||
transl = translw + "(" + subword + ")";
|
transl = translw + " (" + subword + ")";
|
||||||
} else {
|
} else {
|
||||||
s1 = res[1].trim() + " ( )";
|
s1 = res[1].trim() + " ( )";
|
||||||
translw = game.babele.translate(compmod+'.talents', { name: s1 }, true ).name;
|
translw = game.babele.translate(compmod+'.talents', { name: s1 }, true ).name;
|
||||||
var res2 = re.exec(translw);
|
var res2 = re.exec(translw);
|
||||||
transl = res2[1] + "(" + subword + ")";
|
transl = res2[1] + " (" + subword + ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user