Skip to content

Commit

Permalink
Fix - inspiration condition not applying to tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
Azmoria committed Feb 12, 2025
1 parent 406b5a4 commit 6f51d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Token.js
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,7 @@ class Token {
cond_bar.width(symbolSize);
cond_bar.height(this.sizeWidth() - bar_width); // height or width???
})
if (this.isPlayer() && (this.options.inspiration || find_pc_by_player_id(this.options.id)?.inspiration, false)){
if (this.isPlayer() && (this.options.inspiration || find_pc_by_player_id(this.options.id, false)?.inspiration)){
if (!this.hasCondition("Inspiration")){
this.addCondition("Inspiration")
}
Expand Down

0 comments on commit 6f51d59

Please sign in to comment.