Debug mode now activated with command line arguments
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user