Fix: Jets d'astrologies invisibles pour joueur
This commit is contained in:
@ -134,9 +134,7 @@ export class RdDDice {
|
||||
static async roll(formula, options = { showDice: false, rollMode: undefined }) {
|
||||
const roll = new Roll(formula);
|
||||
await roll.evaluate({ async: true });
|
||||
if (options.showDice) {
|
||||
roll.showDice = options.showDice;
|
||||
}
|
||||
roll.showDice = options.showDice;
|
||||
await RdDDice.show(roll, options.rollMode ?? game.settings.get("core", "rollMode"));
|
||||
return roll;
|
||||
}
|
||||
|
Reference in New Issue
Block a user