Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(status): status icons work again #205

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading