Skip to content

Commit

Permalink
Fix conditional modifiers, #97
Browse files Browse the repository at this point in the history
  • Loading branch information
gmiclotte committed May 20, 2022
1 parent 259ed80 commit 1128c97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Extension/sources/injectable/SimPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@
// conditionalModifiers
this.conditionalModifiers = new Map();
itemConditionalModifiers.forEach((itemCondition) => {
this.conditionalModifiers.set(itemCondition.itemID, itemCondition.conditionals);
this.conditionalModifiers.set(itemCondition.itemID, itemCondition.conditionals.map(x => {
return {...x}
}));
});
// activeAstrologyModifiers
this.activeAstrologyModifiers = [];
Expand Down

0 comments on commit 1128c97

Please sign in to comment.