Skip to content

Commit

Permalink
release: 1.4.4 - fix token action hud
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFdez committed Mar 22, 2021
1 parent 8df42f4 commit 3c8ccc8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions betterrolls5e/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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"
}
6 changes: 5 additions & 1 deletion betterrolls5e/scripts/patching/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3c8ccc8

Please sign in to comment.