Ability to import draft logs as decks.

This commit is contained in:
John Hitchings 2019-04-11 22:23:56 -07:00
parent 35f705e07b
commit 61d40902ab
6 changed files with 593 additions and 3 deletions

View file

@ -136,7 +136,7 @@ public class DraftPanel extends javax.swing.JPanel {
if (isLogging()) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd_HHmmss");
String logFilename = "Draft_" + sdf.format(new Date()) + '_' + draftId + ".txt";
String logFilename = "Draft_" + sdf.format(new Date()) + '_' + draftId + ".draft";
draftLogger = new DraftPickLogger(new File("gamelogs"), logFilename);
} else {
draftLogger = new DraftPickLogger();