Crash fix + drill balance

This commit is contained in:
Anuken
2019-06-19 21:41:49 -04:00
parent 47b1e700ea
commit 8e95be0ac2
4 changed files with 20 additions and 18 deletions

View File

@@ -385,7 +385,7 @@ public class HudFragment extends Fragment{
//paused table
parent.fill(t -> {
t.top().visible(() -> state.is(State.paused) && !Net.active());
t.top().visible(() -> state.isPaused());
t.table("button", top -> top.add("$paused").pad(6f));
});
@@ -551,7 +551,9 @@ public class HudFragment extends Fragment{
}
shown = !shown;
flip.getParent().act(Core.graphics.getDeltaTime());
if(flip != null){
flip.getParent().act(Core.graphics.getDeltaTime());
}
}
private void addWaveTable(TextButton table){