Skip to content

Commit

Permalink
Merge pull request #205 from wrycu/status_icons_200
Browse files Browse the repository at this point in the history
fix(status): status icons work again
  • Loading branch information
wrycu authored Jun 13, 2024
2 parents 418edb9 + 15ab7e3 commit c824fac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
`2.1.1` - ?

- FIX: Status Icons now work again ([#200](https://github.com/wrycu/StarWarsFFG-Enhancements/issues/200))

`2.1.0` - 2024-05-26

- COMPATABILITY: Module updated to work with FoundryVTT v12
Expand Down
2 changes: 1 addition & 1 deletion scripts/talent_checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export async function update_status(token, ranks, icon_path) {
} else {
log(module_name, "Adding status rank " + ranks + " to token");
// no need to search for the effect ourselves, as this is done in the underlying libraries
let new_counter = new EffectCounter(ranks, icon_path, token);
let new_counter = new ActiveEffectCounter(ranks, icon_path, token.document);
// render it
if (active) {
await new_counter.update();
Expand Down

0 comments on commit c824fac

Please sign in to comment.