Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Fix vote
Browse files Browse the repository at this point in the history
  • Loading branch information
ungarscool1 committed Aug 16, 2020
1 parent 0f954b9 commit 3da1d76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/github/ungarscool1/Roboto/entity/Vote.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ public String builder(String option) {
return "option1 / " + nombreOption;
} else {
int curopt = where - 4;
options[curopt] = option;
if ((curopt) < nombreOption) {
return "option" + (curopt) + " / " + nombreOption;
options[curopt-1] = option;
if (curopt < nombreOption) {
return "option" + (curopt + 1) + " / " + nombreOption;
} else {
return "fin multi";
}
Expand Down

0 comments on commit 3da1d76

Please sign in to comment.