mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Fix regression with updating armor when sources are disabled
This commit is contained in:
parent
b6b207299c
commit
568c51a369
1 changed files with 1 additions and 1 deletions
|
|
@ -470,7 +470,7 @@ export default class DhCharacter extends DhCreature {
|
|||
|
||||
const increasing = armorChange >= 0;
|
||||
let remainingChange = Math.abs(armorChange);
|
||||
const orderedSources = getArmorSources(this.parent);
|
||||
const orderedSources = getArmorSources(this.parent).filter(s => !s.disabled);
|
||||
|
||||
const handleArmorData = (embeddedUpdates, doc, armorData) => {
|
||||
let usedArmorChange = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue