Skip to content

Commit

Permalink
Revert to name property for attack action
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkinabout committed Jun 4, 2023
1 parent a5bae51 commit 59a2610
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/action-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Hooks.once('tokenActionHudCoreApiReady', async (coreModule) => {

if (attack) {
const id = attack.slug
const name = attack.label.charAt(0).toUpperCase() + attack.label.slice(1)
const name = attack.name.charAt(0).toUpperCase() + attack.name.slice(1)
const actionTypeName = `${coreModule.api.Utils.i18n(ACTION_TYPE[actionType])}: ` ?? ''
const listName = `${actionTypeName}${name}`
const encodedValue = [actionType, id].join(this.delimiter)
Expand Down
Loading

0 comments on commit 59a2610

Please sign in to comment.