somehow missed a breaking issue on actor sheet

This commit is contained in:
TheLastScrub
2025-02-16 21:50:06 -08:00
parent 2915be650c
commit 88fa465f82
+2 -2
View File
@@ -78,7 +78,7 @@ export default class DeltaGreenActorSheet extends ActorSheet {
skill.sortLabel = game.i18n.localize(`DG.Skills.${key}`);
if (skill.sortLabel === "" || skill.sortLabel === `DG.Skills.${key}`) {
skill.sortLabel = skill.label;
skill.sortLabel = skill.key;
}
// if the actor is an NPC or Unnatural, and they have 'hide untrained skills' active,
@@ -161,7 +161,7 @@ export default class DeltaGreenActorSheet extends ActorSheet {
skill.actorType = this.actor.type;
if (skill.sortLabel === "" || skill.sortLabel === `DG.Skills.${key}`) {
skill.sortLabel = skill.label;
skill.sortLabel = skill.key;
}
sortedCustomSkills.push(skill);