Skip to content

Commit

Permalink
Remove these ones too
Browse files Browse the repository at this point in the history
  • Loading branch information
Veilza committed Sep 1, 2024
1 parent ebe83a8 commit 854edc6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions system/actor/scripts/prepare-attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ export const prepareAttributes = async function (actor) {
value: attributes[id].value
}, value)
} else { // Otherwise, add it to the actor and set it as some default data
await actor.update({
[`system.attributes.${id}`]: {
value: 1
}
})

attributeData = Object.assign({
id,
value: 1
Expand Down
2 changes: 0 additions & 2 deletions system/actor/scripts/prepare-skills.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ export const prepareSkills = async function (actor) {
macroid: skills[id].macroid
}, value)
} else { // Otherwise, add it to the actor and set it as some default data
await actor.update({ [`system.skills.${id}`]: { value: 0 } })

skillData = Object.assign({
id,
value: 0,
Expand Down

0 comments on commit 854edc6

Please sign in to comment.