Skip to content

Commit

Permalink
0.5.47
Browse files Browse the repository at this point in the history
  • Loading branch information
gambit07 committed Sep 19, 2024
1 parent f89dd51 commit 5e86b9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ jobs:
- name: Set Release Notes for Github
id: set-release-notes-github
run: |
echo "- Additions:" >> release_notes.txt
echo " - Ring Of Invisibility (Damaged Homebrew)" >> release_notes.txt
echo "- Bugfixes:" >> release_notes.txt
echo " - Opportunity Attack: Fix turn end error popping up for users due to a missing check to make sure only a regions origin token tries to update it." >> release_notes.txt
echo " - Opportunity Attack: Additional turn end bugfix causing permissions errors" >> release_notes.txt
echo "release-notes-github<<EOF" >> $GITHUB_ENV
cat release_notes.txt >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
Expand Down
1 change: 1 addition & 0 deletions scripts/macros/opportunityAttack.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ export async function enableOpportunityAttack(combat, combatEvent) {
disabled: false,
system: {
source: `
if(!game.user.isGM) return;
if(event.data.token.uuid !== region.flags["gambits-premades"].tokenUuid) return;
let token = await fromUuid(region.flags["gambits-premades"].tokenUuid);
let actor = await fromUuid(region.flags["gambits-premades"].actorUuid);
Expand Down

0 comments on commit 5e86b9b

Please sign in to comment.