summaryrefslogtreecommitdiff
path: root/tmwcon/src/converter/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'tmwcon/src/converter/Main.java')
-rw-r--r--tmwcon/src/converter/Main.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmwcon/src/converter/Main.java b/tmwcon/src/converter/Main.java
index 0b4c67a..80dfe30 100644
--- a/tmwcon/src/converter/Main.java
+++ b/tmwcon/src/converter/Main.java
@@ -81,6 +81,7 @@ public class Main {
}
File folder = new File("server-data/data/");
+ folder.mkdirs();
Process.prepWLK(folder);
folder = new File("tmwdata/maps/");
@@ -92,7 +93,7 @@ public class Main {
name = getName(folder, f);
System.out.printf("== %s ==\n", name);
if (summary != null) summary.printf("== %s ==\n", name);
- folders.add(Process.processMap(name, loadMap(f), summary));
+ folders.add(Process.processMap(name, loadMap(f), f, summary));
}
if (summary != null) {