From a86f2077be3ef9f27b58853212b23621359a6fb2 Mon Sep 17 00:00:00 2001 From: Megastruktur Date: Wed, 4 Nov 2020 15:50:18 +0300 Subject: [PATCH] Fixes Dice-so-nice integration --- CHANGELOG.txt | 1 + module/blades-roll.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e91e871..6c6dd80 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,6 @@ v2.8 - Clocks rebuilt to be Actors. +- Fixed Dice-so-nice integration. v2.7 - Clocks added! diff --git a/module/blades-roll.js b/module/blades-roll.js index fec71fd..1037bec 100644 --- a/module/blades-roll.js +++ b/module/blades-roll.js @@ -25,12 +25,13 @@ export async function bladesRoll(dice_amount, attribute_name = "", position = "r let r = new Roll( `${dice_amount}d6`, {} ); // show 3d Dice so Nice if enabled + r.roll(); if (niceDice) { game.dice3d.showForRoll(r).then((displayed) => { showChatRollMessage(r, zeromode, attribute_name, position, effect); + ui.chat.scrollBottom(); }); } else { - r.roll(); showChatRollMessage(r, zeromode, attribute_name, position, effect) } }