Skip to content

Commit

Permalink
Add "1 hit" option for multi-hit moves (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
lily-ac authored Aug 24, 2024
1 parent 6d13b22 commit cdf1522
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 @@ -528,7 +528,7 @@ $(".move-selector").change(function () {
moveGroupObj.children(".move-hits").append("<option value=" + i + ">" + i + " hits</option>");
}
} else {
for (var i = move.multihit[0]; i <= move.multihit[1]; i++) {
for (var i = 1; i <= move.multihit[1]; i++) {
moveGroupObj.children(".move-hits").append("<option value=" + i + ">" + i + " hits</option>");
}
}
Expand Down

0 comments on commit cdf1522

Please sign in to comment.