diff --git a/release-notes.md b/release-notes.md index eff3282..44e3908 100644 --- a/release-notes.md +++ b/release-notes.md @@ -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 diff --git a/scripts/talent_checker.js b/scripts/talent_checker.js index 7128eb6..42836bf 100644 --- a/scripts/talent_checker.js +++ b/scripts/talent_checker.js @@ -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();