From ae96852453d1ca0b34657c057d55e9495be87c13 Mon Sep 17 00:00:00 2001 From: mjeffw Date: Mon, 25 Nov 2024 16:18:55 -0500 Subject: [PATCH] Duplicating the specialization name to other skills #2035 --- changelog.md | 1 + module/actor/actor-importer.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index f31bf56e..887d2adc 100644 --- a/changelog.md +++ b/changelog.md @@ -7,6 +7,7 @@ Release 0.17.16 - Bugfix: Large fonts prevent Tabbed Sheet users from seeing the Skills tab. - Bugfix: Attack mixup if weapon name differs only in a postfix #2025 - Bugfix: Damage dropping not working as intended #2007 +- Bugfix: Duplicating the specialization name to other skills #2035 Release 0.17.15 10/31/2024 diff --git a/module/actor/actor-importer.js b/module/actor/actor-importer.js index 4a34449b..6ec57223 100644 --- a/module/actor/actor-importer.js +++ b/module/actor/actor-importer.js @@ -2644,7 +2644,7 @@ export class ActorImporter { const existingItem = this.actor.items.find( i => i.system.importid === actorComp.uuid || - (!!i.system[i.itemSysKey]?.originalName && i.system[i.itemSysKey].originalName === actorComp.originalName) + (!!i.system[i.itemSysKey]?.name && i.system[i.itemSysKey].name === actorComp.name) ) // Check if we need to update the Item