Added vault to recipe list, removed 'next wave' button

This commit is contained in:
Anuken
2018-06-28 16:18:44 -04:00
parent 4b11511bd1
commit fdf7173f14
5 changed files with 9 additions and 14 deletions

View File

@@ -330,7 +330,7 @@ public class HudFragment implements Fragment{
new imagebutton("icon-play", 30f, () -> {
state.wavetime = 0f;
}).height(uheight).fillX().right().padTop(-8f).padBottom(-12f).padLeft(-15).padRight(-10).width(40f).update(l->{
boolean vis = state.enemies <= 0 && (Net.server() || !Net.active());
boolean vis = state.mode.disableWaveTimer && (Net.server() || !Net.active());
boolean paused = state.is(State.paused) || !vis;
l.setVisible(vis);