From 61629f047e5f073d36f2b2a8fa9ed7601784cd85 Mon Sep 17 00:00:00 2001 From: Gambit Date: Mon, 29 Jul 2024 09:52:41 -0400 Subject: [PATCH] 0.1.80 --- .github/workflows/main.yml | 5 +---- module.json | 6 +++--- scripts/macros/cuttingWords.js | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 84e58117..ac3b8b35 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,11 +19,8 @@ jobs: - name: Set Release Notes for Github id: set-release-notes-github run: | - echo "- Additions:" >> release_notes.txt - echo " - Entropic Ward: Automation for the Warlocks Entropic Ward feature" >> release_notes.txt echo "- Bugfixes:" >> release_notes.txt - echo " - Cutting Words: Prevent Healing from initiating the workflow." >> release_notes.txt - echo " - Interception: Prevent Healing from initiating the workflow." >> release_notes.txt + echo " - Cutting Words: Resolve GM Dialog not closing when a user closes the dialog with Mirror Dialog enabled." >> release_notes.txt echo "release-notes-github<> $GITHUB_ENV cat release_notes.txt >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV diff --git a/module.json b/module.json index 6368b5d2..ff203ba9 100644 --- a/module.json +++ b/module.json @@ -7,7 +7,7 @@ "name": "Gambit" } ], - "version": "0.1.79", + "version": "0.1.80", "compatibility": { "minimum": "11", "verified": "11", @@ -216,7 +216,7 @@ ] }, "url": "https://github.com/gambit07/gambits-premades", - "manifest": "https://github.com/gambit07/gambits-premades/releases/download/0.1.79/module.json", - "download": "https://github.com/gambit07/gambits-premades/releases/download/0.1.79/module.zip", + "manifest": "https://github.com/gambit07/gambits-premades/releases/download/0.1.80/module.json", + "download": "https://github.com/gambit07/gambits-premades/releases/download/0.1.80/module.zip", "icon": "https://github.com/gambit07/gambits-premades/blob/main/assets/images/gambit-hand.png?raw=true" } \ No newline at end of file diff --git a/scripts/macros/cuttingWords.js b/scripts/macros/cuttingWords.js index 36002d0b..434c36d2 100644 --- a/scripts/macros/cuttingWords.js +++ b/scripts/macros/cuttingWords.js @@ -407,10 +407,10 @@ export async function showCuttingWordsDialog({targetUuids, actorUuid, tokenUuid, close: () => { clearInterval(timer); if (dialog.dialogState.programmaticallyClosed) { - resolve({ userDecision: false, damageChosen, programmaticallyClosed: true, source, type }); + resolve({ userDecision: false, damageChosen: false, programmaticallyClosed: true, source, type }); } else if (!dialog.dialogState.interacted) { - resolve({ userDecision: false, damageChosen, programmaticallyClosed: false, source, type }); + resolve({ userDecision: false, damageChosen: false, programmaticallyClosed: false, source, type }); } } });