Skip to content

Commit

Permalink
Add 1 hit option to multi-hit moves
Browse files Browse the repository at this point in the history
  • Loading branch information
lily-ac committed Aug 14, 2024
1 parent a37decc commit 7aba8ff
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 7aba8ff

Please sign in to comment.