Fixed an issue with the 2.5.2 migration

This commit is contained in:
WBHarry 2026-07-13 17:02:26 +02:00
parent 7b35feb36d
commit d3d9ddfb41

View file

@ -15,7 +15,7 @@ export class Migration_2_5_2 extends MigrationHandlerBase {
const srdEffect = srdItem?.effects.find(x => x.name === effectSource.name);
if (change.type === 'custom') {
const srdChange = srdEffect ? srdEffect.system.changes[i] : null;
if (
if (srdChange &&
change.key === srdChange.key &&
change.value === srdChange.value &&
change.type !== srdChange.type