This commit is contained in:
Anuken
2022-06-08 09:43:42 -04:00
parent df082c39a3
commit c969749163
2 changed files with 6 additions and 6 deletions

View File

@@ -324,7 +324,7 @@ quit.confirm = Are you sure you want to quit?
loading = [accent]Loading... loading = [accent]Loading...
downloading = [accent]Downloading... downloading = [accent]Downloading...
saving = [accent]Saving... saving = [accent]Saving...
respawn = [accent][[{0}][] to respawn in core respawn = [accent][[{0}][] to respawn
cancelbuilding = [accent][[{0}][] to clear plan cancelbuilding = [accent][[{0}][] to clear plan
selectschematic = [accent][[{0}][] to select+copy selectschematic = [accent][[{0}][] to select+copy
pausebuilding = [accent][[{0}][] to pause building pausebuilding = [accent][[{0}][] to pause building

View File

@@ -361,13 +361,13 @@ public class WaveInfoDialog extends BaseDialog{
} }
} }
p.button("@waves.spawn.all", Styles.flatTogglet, () -> {
group.spawn = -1;
dialog.hide();
}).size(110f, 45f).checked(-1 == group.spawn);
if(spawner.getSpawns().isEmpty()){ if(spawner.getSpawns().isEmpty()){
p.add("@waves.spawn.none"); p.add("@waves.spawn.none");
}else{
p.button("@waves.spawn.all", Styles.flatTogglet, () -> {
group.spawn = -1;
dialog.hide();
}).size(110f, 45f).checked(-1 == group.spawn);
} }
}); });
dialog.setFillParent(false); dialog.setFillParent(false);