mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
Fixed an issue with the 2.5.2 migration
This commit is contained in:
parent
7b35feb36d
commit
d3d9ddfb41
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ export class Migration_2_5_2 extends MigrationHandlerBase {
|
||||||
const srdEffect = srdItem?.effects.find(x => x.name === effectSource.name);
|
const srdEffect = srdItem?.effects.find(x => x.name === effectSource.name);
|
||||||
if (change.type === 'custom') {
|
if (change.type === 'custom') {
|
||||||
const srdChange = srdEffect ? srdEffect.system.changes[i] : null;
|
const srdChange = srdEffect ? srdEffect.system.changes[i] : null;
|
||||||
if (
|
if (srdChange &&
|
||||||
change.key === srdChange.key &&
|
change.key === srdChange.key &&
|
||||||
change.value === srdChange.value &&
|
change.value === srdChange.value &&
|
||||||
change.type !== srdChange.type
|
change.type !== srdChange.type
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue