Skip to content

Commit

Permalink
Fix auto selecting Dynamax moves (#619)
Browse files Browse the repository at this point in the history
bisect: 01467a8

Bug was an oversight while refactoring
  • Loading branch information
singiamtel authored Apr 17, 2024
1 parent 222647b commit 01d1fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/shared_controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ function getMoveDetails(moveInfo, opts) {
return new calc.Move(gen, moveName, {
ability: opts.ability, item: opts.item, useZ: isZMove, species: opts.species, isCrit: isCrit, hits: hits,
isStellarFirstUse: isStellarFirstUse, timesUsed: timesUsed, timesUsedWithMetronome: timesUsedWithMetronome,
overrides: overrides, useMax: opts.useMax
overrides: overrides, useMax: opts.isDynamaxed
});
}

Expand Down

0 comments on commit 01d1fe7

Please sign in to comment.