Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
iMarbot committed May 8, 2020
1 parent 622908f commit 947d85d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bracketgen/LuaBracketRound.java
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,8 @@ public String toWikiCode(int offset) {
if (!isInLowerBracket) {
s += "{{#invoke:Bracket|BracketStart\n" + "|column-width={{{column-width|180}}}\n"
+ "|column-width-finals={{{column-width|180}}}\n" + "|columns="
+ (ROUNDS_UPPER.size() + (de ? 1 : 0)) + (de ? "|debracket=true\n" : "") + "\n}}\n"
+ "{{#invoke:WinnersBracketStructure|WinnersBracketStructure\n" + "|cell-type=team\n"
+ (ROUNDS_UPPER.size() + (de ? 1 : 0)) + (de ? "|debracket=true\n" : "") + "}}\n"
+ "{{#invoke:WinnersBracketStructure|WinnersBracketStructure\n"
+ "|column-width={{{column-width|180}}}\n" + "|space-width={{{space-width|20}}}\n"
+ "|score-width={{{score-width|21}}}\n" + "|cell-type=team\n"
+ "|columns=" + (ROUNDS_UPPER.size()) + "\n\n";
Expand All @@ -513,7 +513,7 @@ public String toWikiCode(int offset) {
s += "{{#invoke:LosersBracketStructure|LosersBracketStructure\n"
+ "|column-width={{{column-width|180}}}\n" + "|space-width={{{space-width|20}}}\n"
+ "|score-width={{{score-width|21}}}\n" + "|cell-type=team\n"
+ "|columns=" + (ROUNDS_LOWER.size()) + "\n\n";
+ "|columns=" + (ROUNDS_LOWER.size() - 1) + "\n\n";
for (int i = 0; i < ROUNDS_LOWER.size() - 1; i++) {
String roundName = ROUNDS_LOWER.get(i).getRoundNameProperty().get();
if (roundName.equals("Round title")) {
Expand Down

0 comments on commit 947d85d

Please sign in to comment.