mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Apply suggestion from @CarlosFdez
This commit is contained in:
parent
e585a9cc43
commit
0913b6d453
1 changed files with 1 additions and 2 deletions
|
|
@ -359,8 +359,7 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel
|
|||
effectData.system.changes =
|
||||
effectData.system.changes.filter(x => weaponTransferredEffectKeys.includes(x.key));
|
||||
}
|
||||
}
|
||||
else if (effectParent?.id !== effect.parent.id) {
|
||||
} else if (effectParent?.id !== effect.parent.id) {
|
||||
effectData.system.changes =
|
||||
effectData.system.changes.filter(x => weaponTransferredEffectKeys.includes(x.key));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue