Fixed bug with conveyor belt rotation not being saved

This commit is contained in:
Anuken
2017-08-08 20:18:31 -04:00
parent de22d72c51
commit 09985e30fe
328 changed files with 183 additions and 36 deletions

View File

@@ -1,9 +1,14 @@
package io.anuke.mindustry.desktop;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
import io.anuke.mindustry.Mindustry;
import io.anuke.mindustry.io.SaveIO;
import io.anuke.mindustry.io.SaveIO.FormatProvider;
public class DesktopLauncher {
public static void main (String[] arg) {
@@ -12,6 +17,15 @@ public class DesktopLauncher {
config.setMaximized(true);
config.useVsync(false);
config.setWindowedMode(800, 600);
SaveIO.setFormatProvider(new FormatProvider(){
SimpleDateFormat format = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss");
public String format(Date date){
return format.format(date);
}
});
new Lwjgl3Application(new Mindustry(), config);
}
}