diff --git a/betterrolls5e/module.json b/betterrolls5e/module.json index b414ef9b..e501c035 100644 --- a/betterrolls5e/module.json +++ b/betterrolls5e/module.json @@ -4,7 +4,7 @@ "description": "This module overhauls rolls for the D&D 5e system, allowing \"dual rolls\" for d20 rolls, buttons that support full output to chat, and customization for said outputs.", "minimumCoreVersion": "0.7.7", "compatibleCoreVersion": "0.7.9", - "version": "1.4.3", + "version": "1.4.4", "author": "Red Reign#5128", "languages": [ { @@ -52,5 +52,5 @@ "packs": [], "url": "https://github.com/RedReign/FoundryVTT-BetterRolls5e/tree/master/betterrolls5e", "manifest": "https://raw.githubusercontent.com/RedReign/FoundryVTT-BetterRolls5e/master/betterrolls5e/module.json", - "download": "https://github.com/RedReign/FoundryVTT-BetterRolls5e/releases/download/v1.4.3/module.zip" + "download": "https://github.com/RedReign/FoundryVTT-BetterRolls5e/releases/download/v1.4.4/module.zip" } diff --git a/betterrolls5e/scripts/patching/index.js b/betterrolls5e/scripts/patching/index.js index d6e033c3..ef538946 100644 --- a/betterrolls5e/scripts/patching/index.js +++ b/betterrolls5e/scripts/patching/index.js @@ -28,7 +28,11 @@ function override(target, fn) { */ const itemRoll = (defaultRoll) => function (options) { // Handle options, same defaults as core 5e - options = mergeObject({configureDialog: true, createMessage: true, event }, options); + options = mergeObject({ + configureDialog: true, + createMessage: true, + event + }, options, { recursive: false }); const { rollMode, createMessage, vanilla } = options; const altKey = options.event?.altKey; const item = this;