From 0f6727dbc57a141a2df0462263bd5ef143e9f3c2 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Thu, 16 Sep 2021 20:30:24 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20r=C3=A9gression=20sur=20ajout=20d'exp?= =?UTF-8?q?=C3=A9rience?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/actor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/actor.js b/module/actor.js index 698fc3ec..7972110f 100644 --- a/module/actor.js +++ b/module/actor.js @@ -2082,7 +2082,7 @@ export class RdDActor extends Actor { createCallbackExperience() { return { condition: r => r.rolled.isPart && r.finalLevel < 0 && game.settings.get("core", "rollMode") != 'selfroll', - action: r => this.appliquerAjoutExperience(r, (game.settings.get("core", "rollMode") != 'blindroll' && !user.isGM)) + action: r => this.appliquerAjoutExperience(r, (game.settings.get("core", "rollMode") != 'blindroll' && !game.user.isGM)) }; }