Crash fixes

This commit is contained in:
Anuken
2019-09-17 19:29:38 -04:00
parent 0ceb58a105
commit 69944a2b63
3 changed files with 2 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ import static io.anuke.mindustry.Vars.*;
public class BlockInventoryFragment extends Fragment{ public class BlockInventoryFragment extends Fragment{
private final static float holdWithdraw = 20f; private final static float holdWithdraw = 20f;
private Table table; private Table table = new Table();
private Tile tile; private Tile tile;
private float holdTime = 0f; private float holdTime = 0f;
private boolean holding; private boolean holding;
@@ -52,7 +52,6 @@ public class BlockInventoryFragment extends Fragment{
@Override @Override
public void build(Group parent){ public void build(Group parent){
table = new Table();
table.setName("inventory"); table.setName("inventory");
table.setTransform(true); table.setTransform(true);
parent.setTransform(true); parent.setTransform(true);

View File

@@ -572,9 +572,6 @@ public class HudFragment extends Fragment{
} }
shown = !shown; shown = !shown;
if(flip != null){
flip.getParent().act(Core.graphics.getDeltaTime());
}
} }
private void addWaveTable(Button table){ private void addWaveTable(Button table){

View File

@@ -1,3 +1,3 @@
org.gradle.daemon=true org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=1fda7fc4ed52e00fdbd6b9a5fab9af6add78dc63 archash=de8be7efb888294932a9d41140ac9a71b4ff7f18