Skip to content

Commit

Permalink
Fix copied optimizersetup.ts
Browse files Browse the repository at this point in the history
I can't realistically maintain this thing but.
  • Loading branch information
marcustyphoon committed Sep 8, 2023
1 parent 1d4d9d8 commit f086440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/optimizer-parallel/optimizerSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ export function createSettings(reduxState: any): Settings {
number,
][];
for (const [type, bonus] of bonuses) {
for (const stat of Affix[affix].bonuses[type]) {
for (const stat of Affix[affix].bonuses[type] ?? []) {
statTotals[stat] = (statTotals[stat] || 0) + bonus;
}
}
Expand Down

0 comments on commit f086440

Please sign in to comment.