This commit is contained in:
sladecraven 2021-03-25 07:45:32 +01:00
parent 77d5646497
commit c16101428a

View File

@ -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}<br>${b}`);