Fixed bug with conveyor belt rotation not being saved
This commit is contained in:
@@ -9,5 +9,5 @@
|
||||
|
||||
<entry-point class='io.anuke.mindustry.client.HtmlLauncher' />
|
||||
<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>
|
||||
<set-configuration-property name="gdx.assetpath" value="../android/assets" />
|
||||
<set-configuration-property name="gdx.assetpath" value="../core/assets" />
|
||||
</module>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package io.anuke.mindustry.client;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import com.badlogic.gdx.ApplicationListener;
|
||||
import com.badlogic.gdx.backends.gwt.GwtApplication;
|
||||
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration;
|
||||
@@ -9,6 +11,8 @@ import com.google.gwt.user.client.ui.HasVerticalAlignment;
|
||||
import com.google.gwt.user.client.ui.VerticalPanel;
|
||||
|
||||
import io.anuke.mindustry.Mindustry;
|
||||
import io.anuke.mindustry.io.SaveIO;
|
||||
import io.anuke.mindustry.io.SaveIO.FormatProvider;
|
||||
|
||||
public class HtmlLauncher extends GwtApplication {
|
||||
static final int WIDTH = 800;
|
||||
@@ -49,6 +53,14 @@ public class HtmlLauncher extends GwtApplication {
|
||||
setupResizeHook();
|
||||
}
|
||||
});
|
||||
|
||||
SaveIO.setFormatProvider(new FormatProvider(){
|
||||
|
||||
public String format(Date date){
|
||||
return "saving not supported";
|
||||
}
|
||||
});
|
||||
|
||||
return new Mindustry();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user