From c16101428aa76adedff6d172b731ca3929354ef3 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Thu, 25 Mar 2021 07:45:32 +0100 Subject: [PATCH] Add --- module/actor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/actor.js b/module/actor.js index 55427b63..a01c6909 100644 --- a/module/actor.js +++ b/module/actor.js @@ -2420,7 +2420,7 @@ export class RdDActor extends Actor { return carac.chance; } const keys = Object.entries(carac) - .filter(it => it[0].includes(name) || Grammar.toLowerCaseNoAccent(it[1].label).includes(name)) + .filter(it => it[0].includes(name) || Grammar.toLowerCaseNoAccent(it[0]).includes(name)) .map(it => it[0]); if (keys.length>1){ const names = keys.reduce((a, b) => `${a}
${b}`);