From 17b9719c0978198dba1adfd1d916bc4ec7651cf5 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Thu, 28 May 2026 18:50:52 +0200 Subject: [PATCH] Fixed DiceSoNice multiple damageType reroll --- module/data/chat-message/actorRoll.mjs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/module/data/chat-message/actorRoll.mjs b/module/data/chat-message/actorRoll.mjs index caffde09..20df9de8 100644 --- a/module/data/chat-message/actorRoll.mjs +++ b/module/data/chat-message/actorRoll.mjs @@ -155,9 +155,8 @@ export default class DHActorRoll extends foundry.abstract.TypeDataModel { } if (game.modules.get('dice-so-nice')?.active) { - for (const roll of rerolls) { - await game.dice3d.showForRoll(roll, game.user, true); - } + const rerollPromises = rerolls.map(roll => game.dice3d.showForRoll(roll, game.user, true)); + await Promise.allSettled(rerollPromises); } else { foundry.audio.AudioHelper.play({ src: CONFIG.sounds.dice }); }