Skip to content

Commit

Permalink
#26
Browse files Browse the repository at this point in the history
- #26: Fix empty item action types, item activation cost types and senses on initial load.
  • Loading branch information
Larkinabout committed Feb 27, 2024
1 parent 7a09773 commit 9a3bec5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/item-action-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function setConfig (data) {
.filter(([_, value]) => value.visible || value.visible === undefined)
.map(([key, value]) => [
key,
game.i18n.localize(value.label)
game.i18n.localize(value.label || value)
])
)

Expand Down
2 changes: 1 addition & 1 deletion scripts/item-activation-cost-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function setConfig (data) {
.filter(([_, value]) => value.visible || value.visible === undefined)
.map(([key, value]) => [
key,
game.i18n.localize(value.label)
game.i18n.localize(value.label || value)
])
)

Expand Down
2 changes: 1 addition & 1 deletion scripts/senses.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function setConfig (data) {
.filter(([_, value]) => value.visible || value.visible === undefined)
.map(([key, value]) => [
key,
game.i18n.localize(value.label)
game.i18n.localize(value.label || value)
])
)

Expand Down

0 comments on commit 9a3bec5

Please sign in to comment.