Skip to content

Commit

Permalink
Template effect removal fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPrimate committed Oct 17, 2023
1 parent 19c6d00 commit 6929f66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.8.1

- Templates providing Aura effects would not remove effect if the token was still within the template if the effect was ended via concentration removal.

# 0.8.0

- Some small tweaks to improve template and drawing aura detection.
Expand Down
1 change: 1 addition & 0 deletions src/lib/AAHooks.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ export function deleteMeasuredTemplateHook(doc){
//if (!getProperty(data, "flags.ActiveAuras")) return;
AAHelpers.ExtractAuraById(doc.id, doc.parent.id);
//CollateAuras(scene._id, false, true, "template deletion")
debouncedCollate(canvas.scene.id, false, true, "deleteMeasuredTemplateHook");
}

export function preCreateActiveEffectHook(effect, _update, options) {
Expand Down

0 comments on commit 6929f66

Please sign in to comment.