Skip to content

Commit

Permalink
fixing errant log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
BadIdeasBureau committed Mar 22, 2021
1 parent f612553 commit 6b061d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ae-to-chat.js
Expand Up @@ -63,7 +63,7 @@ function processEffectArray(){
newArray = newArray.reduce((accumilator, currentValue) => {
if (!accumilator.find(e=> e?.actor === currentValue.actor)?.effects.push(currentValue.effect)){ //add the effect to the effects array of that actor (if it exists)
accumilator.push({actor: currentValue.actor, effects: [currentValue.effect]})}; //if the actor isn't in the accumilator, add a new object for that actor to the array
console.log(accumilator);
//console.log(accumilator);
return accumilator;
}, []) //IMPORTANT: start with an empty array here

Expand Down

0 comments on commit 6b061d3

Please sign in to comment.