Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamish committed Jun 22, 2021
2 parents f89557a + c22b673 commit 50d6d6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

## [1.1.3] 2021-06-20
## [1.1.4] 2021-06-22
### Bugfix
- Fix call for token id resulting in error messages, thanks to jessev14

## [1.1.3] 2021-06-22
### Bugfix
- SWADE BR improvements thanks to zk-sn again
### Added
Expand Down
2 changes: 1 addition & 1 deletion scripts/tokenactionhud.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ export class TokenActionHUD extends Application {

isRelevantToken(token) {
let controlled = this.tokens?.controlled;
return controlled?.some(t => t.id === this.getTokenId(token.id)) || (controlled?.length === 0 && canvas?.tokens?.placeables?.some(t => t.id === this.targetActions?.tokenId));
return controlled?.some(t => t.id === this.getTokenId(token)) || (controlled?.length === 0 && canvas?.tokens?.placeables?.some(t => t.id === this.targetActions?.tokenId));
}

getTokenId(token) {
Expand Down

0 comments on commit 50d6d6c

Please sign in to comment.