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{
private final static float holdWithdraw = 20f;
private Table table;
private Table table = new Table();
private Tile tile;
private float holdTime = 0f;
private boolean holding;
@@ -52,7 +52,6 @@ public class BlockInventoryFragment extends Fragment{
@Override
public void build(Group parent){
table = new Table();
table.setName("inventory");
table.setTransform(true);
parent.setTransform(true);

View File

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