Fixed so that players rolling reactions will update the message (#1455)

This commit is contained in:
WBHarry 2025-12-22 14:34:43 +01:00 committed by GitHub
parent 659f73116a
commit 16f6fa98a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 14 additions and 11 deletions

View file

@ -293,7 +293,7 @@ export default class DualityRoll extends D20Roll {
if (!config.roll.hasOwnProperty('success') && !config.targets?.length) return;
const rollResult = config.roll.success || config.targets.some(t => t.hit),
const rollResult = config.roll.success || config.targets?.some(t => t.hit),
looseSpotlight = !rollResult || config.roll.result.duality === -1;
if (looseSpotlight && game.combat?.active) {