Skip to content

Commit

Permalink
Allow removal of combats with null actors
Browse files Browse the repository at this point in the history
  • Loading branch information
juanferrer committed Dec 17, 2023
1 parent bad187a commit 8b69424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/combat/combat-tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class DLCombatTracker extends CombatTracker {
// Add Tooltip on Status Effects
// Group actor effects by image
const imgEffectMap = new Map()
combatant.actor.effects
combatant.actor?.effects
.filter(e => e.isTemporary && !e.disabled)
.forEach(e => {
if (imgEffectMap.has(e.icon)) imgEffectMap.get(e.icon).push(e)
Expand Down

0 comments on commit 8b69424

Please sign in to comment.