diff --git a/module/rdd-commands.js b/module/rdd-commands.js index 7b3deebe..c24e8af0 100644 --- a/module/rdd-commands.js +++ b/module/rdd-commands.js @@ -331,7 +331,7 @@ export class RdDCommands { diff = 0; } const caracName = params[0]; - let competence = length > 1 ? actors[0].getCompetence(Misc.join(params.slice(1, length), ' ')) : undefined; + let competence = length > 1 ? actors[0].getCompetence(Misc.join(params.slice(1, length), ' ')) : {name:undefined}; if (competence) { for (let actor of actors) { await actor.rollCaracCompetence(caracName, competence.name, diff);