* Tornament construction time - Fixed that the selected value was not used.

This commit is contained in:
LevelX2 2013-06-29 17:52:19 +02:00
parent 0858532257
commit 63783d9fe2
3 changed files with 1 additions and 3 deletions

View file

@ -357,7 +357,7 @@ public class NewTournamentDialog extends MageDialog {
if (tournamentType.isLimited()) {
if (tOptions.getLimitedOptions() == null) {
tOptions.setLimitedOptions(new LimitedOptions());
tOptions.getLimitedOptions().setConstructionTime((Integer)this.spnConstructTime.getValue());
tOptions.getLimitedOptions().setConstructionTime((Integer)this.spnConstructTime.getValue() * 60);
}
for (JComboBox pack: packs) {
tOptions.getLimitedOptions().getSetCodes().add(((ExpansionSet) pack.getSelectedItem()).getCode());

View file

@ -50,7 +50,6 @@ public class BoosterDraftEliminationTournament extends TournamentSingleEliminati
public BoosterDraftEliminationTournament(TournamentOptions options) {
super(options);
this.getOptions().getLimitedOptions().setConstructionTime(600);
currentStep = TournamentStep.START;
}

View file

@ -45,7 +45,6 @@ public class SealedEliminationTournament extends TournamentSingleElimination {
public SealedEliminationTournament(TournamentOptions options) {
super(options);
this.getOptions().getLimitedOptions().setConstructionTime(1200);
currentStep = TournamentStep.START;
}