Fix RollTables: utilisent data, pas system

This commit is contained in:
Vincent Vandemeulebrouck 2022-09-20 00:07:46 +02:00
parent 78c757a21a
commit a75ee8fbc6

View File

@ -25,7 +25,7 @@ export class RdDRollTables {
/* -------------------------------------------- */
static async drawTextFromRollTable(tableName, toChat) {
const drawResult = await RdDRollTables.genericGetTableResult(tableName, toChat);
return drawResult.system.text;
return drawResult.data.text;
}
/* -------------------------------------------- */