From 57e6a320be9bf54f84f8dacd7a858d433d3901b0 Mon Sep 17 00:00:00 2001 From: MrVauxs <32039708+MrVauxs@users.noreply.github.com> Date: Thu, 1 Dec 2022 21:14:11 +0100 Subject: [PATCH 1/2] Update sequencer-db.js --- scripts/sequencer-db.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/sequencer-db.js b/scripts/sequencer-db.js index ee15fd0..63cc16d 100644 --- a/scripts/sequencer-db.js +++ b/scripts/sequencer-db.js @@ -1,5 +1,4 @@ -Hooks.once('ready', () => { - if (game.modules.get("sequencer")?.active) { +Hooks.once('sequencer.ready', () => { const PATH = "modules/animated-spell-effects-cartoon/spell-effects/cartoon"; const cartoonDatabase = { "air": { @@ -596,5 +595,5 @@ Hooks.once('ready', () => { "water": {}, }; Sequencer.Database.registerEntries('animated-spell-effects-cartoon', cartoonDatabase); - } -}); \ No newline at end of file + +}); From 971baddb7f816c49a88a1840eccfbedf2865bfe9 Mon Sep 17 00:00:00 2001 From: Jack Kerouac Date: Fri, 2 Dec 2022 17:11:02 -0500 Subject: [PATCH 2/2] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d9e92f9..e657a03 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v2 # create a zip file with all files required by the module to add to the release - - run: zip -r ./module.zip module.json CHANGELOG.md spell-effects/ scripts/ + - run: zip -r ./module.zip module.json CHANGELOG.md spell-effects/ scripts/ sound-fx/ packs/ # Get the version from 'module.json' - name: Get Version