fixed decks and deck loading in editor

This commit is contained in:
BetaSteward 2010-11-13 16:25:16 +00:00
parent e4c01b0693
commit 95cd28cb22
5 changed files with 13 additions and 5 deletions

View file

@ -276,7 +276,7 @@ public class DeckEditorPanel extends javax.swing.JPanel {
File file = fcSelectDeck.getSelectedFile();
try {
setCursor(new Cursor(Cursor.WAIT_CURSOR));
deck = Deck.load(DeckCardLists.load(file.getPath()));
deck = Deck.load(DeckCardLists.load(file.getPath()), true);
} catch (GameException ex) {
JOptionPane.showMessageDialog(MageFrame.getDesktop(), ex.getMessage(), "Error loading deck", JOptionPane.ERROR_MESSAGE);
} catch (Exception ex) {