Skip to content

Commit

Permalink
Minionsss
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Oct 4, 2023
1 parent 6bddb05 commit 4320779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,10 @@ jobs:
module.json \
README.md \
LICENSE \
templates \
assets/ \
scripts/ \
styles/ \
packs/ \
language/ \
lang/
languages/
# Don't forget to add a backslash at the end of the line for any
# additional files or directories!
Expand Down
2 changes: 1 addition & 1 deletion scripts/minion.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function initializeMinions() {

Hooks.on("midi-qol.postCheckSaves", async (workflow) => {
if (!lib.getSetting(CONSTANTS.SETTING_KEYS.ENABLE_MINION_SUPER_SAVE)) return;
for (const savedToken in workflow.saves) {
for (const savedToken of workflow.saves) {
if (!api.isMinion(savedToken)) continue;
workflow.superSavers.add(savedToken);
}
Expand Down

0 comments on commit 4320779

Please sign in to comment.