forked from External/mage
* Added option to start matches with password protection.
This commit is contained in:
parent
36ef4c3bcf
commit
8f690f7e02
19 changed files with 151 additions and 42 deletions
|
|
@ -106,11 +106,16 @@ public class TableView implements Serializable {
|
|||
}
|
||||
this.controllerName += sb.toString();
|
||||
this.deckType = table.getDeckType();
|
||||
StringBuilder addInfo = new StringBuilder();
|
||||
if (table.getMatch().getGames().isEmpty()) {
|
||||
this.additionalInfo = new StringBuilder("Timer: ").append(table.getMatch().getOptions().getMatchTimeLimit().toString()).toString();
|
||||
if (!table.getMatch().getOptions().getPassword().isEmpty()) {
|
||||
addInfo.append("PW -");
|
||||
}
|
||||
addInfo.append("Timer: ").append(table.getMatch().getOptions().getMatchTimeLimit().toString());
|
||||
} else {
|
||||
this.additionalInfo = sbScore.toString();
|
||||
addInfo.append(sbScore.toString());
|
||||
}
|
||||
this.additionalInfo = addInfo.toString();
|
||||
} else {
|
||||
this.wins = table.getTournament().getOptions().getMatchOptions().getWinsNeeded();
|
||||
if (table.getTournament().getOptions().getNumberRounds() > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue