forked from External/mage
Drafts: refactor to use same pack/pick number logic (#8039);
This commit is contained in:
parent
400acae0c1
commit
06ae494c5b
10 changed files with 41 additions and 52 deletions
|
|
@ -177,7 +177,7 @@ public class TableView implements Serializable {
|
|||
case DRAFTING:
|
||||
Draft draft = table.getTournament().getDraft();
|
||||
if (draft != null) {
|
||||
stateText.append(' ').append(draft.getBoosterNum()).append('/').append(draft.getCardNum() - 1);
|
||||
stateText.append(' ').append(draft.getBoosterNum()).append('/').append(draft.getCardNum());
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public class TournamentView implements Serializable {
|
|||
tournamentState = tournament.getTournamentState();
|
||||
|
||||
if (tournament.getTournamentState().equals("Drafting") && tournament.getDraft() != null) {
|
||||
runningInfo = "booster/card: " + tournament.getDraft().getBoosterNum() + '/' + (tournament.getDraft().getCardNum() -1);
|
||||
runningInfo = "booster/card: " + tournament.getDraft().getBoosterNum() + '/' + (tournament.getDraft().getCardNum());
|
||||
} else {
|
||||
runningInfo = "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue