From c6f51e6e9a7c071e1ef1f95ff3e5929b2ea867e0 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Fri, 28 May 2021 10:30:01 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Fix=20pr=C3=A9sentation=20de=20l'aide=20des?= =?UTF-8?q?=20commandes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/settings/dialog-aide-commands.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/settings/dialog-aide-commands.html b/templates/settings/dialog-aide-commands.html index 8d39f597..986f4b61 100644 --- a/templates/settings/dialog-aide-commands.html +++ b/templates/settings/dialog-aide-commands.html @@ -14,7 +14,7 @@ \ No newline at end of file From b5009972771029416876f0a7d7f90b2c6dcf27f4 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Fri, 28 May 2021 10:40:02 +0200 Subject: [PATCH 2/2] Fix: ajout de souffle sur refoulement --- module/actor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/actor.js b/module/actor.js index 4a205e45..710379ae 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1273,7 +1273,7 @@ export class RdDActor extends Actor { /* -------------------------------------------- */ async ajouterSouffle(options = { chat: false }) { - let souffle = await RdDRollTables.getSouffle(); + let souffle = Misc.data(await RdDRollTables.getSouffle()); souffle._id = undefined; //TBC await this.createEmbeddedDocuments('Item', [souffle]); if (options.chat) { @@ -1289,11 +1289,11 @@ export class RdDActor extends Actor { async ajouterQueue(options = { chat: false }) { let queue; if (Misc.data(this).data.reve.reve.thanatosused) { - queue = await RdDRollTables.getOmbre(); + queue = Misc.data(await RdDRollTables.getOmbre()); await this.update({ "data.reve.reve.thanatosused": false }); } else { - queue = await RdDRollTables.getQueue(); + queue = Misc.data(await RdDRollTables.getQueue()); } await this.createEmbeddedDocuments('Item', [queue]); if (options.chat) {