summaryrefslogtreecommitdiff
path: root/tools/tmwcon/src/converter/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tmwcon/src/converter/Main.java')
-rw-r--r--tools/tmwcon/src/converter/Main.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/tmwcon/src/converter/Main.java b/tools/tmwcon/src/converter/Main.java
index 0b4c67aa..80dfe30e 100644
--- a/tools/tmwcon/src/converter/Main.java
+++ b/tools/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) {