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
espositos committed Nov 22, 2020
2 parents 3741a5e + 8c3de98 commit 87ae292
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.9.16] 2020-11-21
### Bugfix
- DND Check for null combat

## [0.9.15] 2020-11-21
### Bugfix
- PF1 - Multi token saves now roll correctly.
Expand Down
3 changes: 3 additions & 0 deletions scripts/actions/dnd5e/dnd5e-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,9 @@ export class ActionHandler5e extends ActionHandler {
/** @private */
_addIntiativeSubcategory(macroType, category, tokenId) {
const combat = game.combat;
if (!combat)
return;

const combatant = combat.combatants.find(c => c.tokenId === tokenId);
if (!combatant)
return;
Expand Down

0 comments on commit 87ae292

Please sign in to comment.