Debug mode now activated with command line arguments

This commit is contained in:
Anuken
2017-08-24 22:39:06 -04:00
parent b73a7ce046
commit f29bb16d80
4 changed files with 12 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ import io.anuke.mindustry.io.SaveIO;
import io.anuke.mindustry.io.SaveIO.FormatProvider;
public class DesktopLauncher {
public static void main (String[] arg) {
Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
config.setTitle("Mindustry");
@@ -26,6 +27,8 @@ public class DesktopLauncher {
}
});
Mindustry.args = arg;
new Lwjgl3Application(new Mindustry(), config);
}
}