diff --git a/module/actor.js b/module/actor.js index 76f5605a..105a9bef 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) { 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