All web version bugs fixed
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module rename-to="html">
|
||||
<inherits name='com.badlogic.gdx.backends.gdx_backends_gwt' />
|
||||
<inherits name='com.badlogic.gdx.ai' />
|
||||
<inherits name='com.badlogic.gdx.controllers.controllers-gwt' />
|
||||
<inherits name='Mindustry' />
|
||||
<inherits name='uCore' />
|
||||
<inherits name="com.sksamuel.gwt.GwtWebsockets" />
|
||||
|
||||
<entry-point class='io.anuke.mindustry.client.HtmlLauncher' />
|
||||
<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>
|
||||
|
||||
@@ -115,12 +115,6 @@ public class HtmlLauncher extends GwtApplication {
|
||||
return NumberFormat.getDecimalFormat().format(number);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canJoinGame(){
|
||||
String ref = Document.get().getReferrer();
|
||||
return !ref.startsWith("https") && !ref.contains("itch.io");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void downloadFile(String name, byte[] bytes) {
|
||||
downloadBytes(name, new String(Base64Coder.encode(bytes)));
|
||||
|
||||
Reference in New Issue
Block a user