Fix entite

This commit is contained in:
2022-09-11 16:14:27 +02:00
parent 87fdd655d4
commit bddaecbc74
2 changed files with 3 additions and 3 deletions

View File

@ -3554,7 +3554,7 @@ export class RdDActor extends Actor {
/* -------------------------------------------- */
isEntite(typeentite = []) {
return this.type == 'entite' && (typeentite.length == 0 || typeentite.includes(this.system.typeentite));
return this.type == 'entite' && (typeentite.length == 0 || typeentite.includes(this.system.definition.typeentite));
}
/* -------------------------------------------- */