Added outpost schematic system

This commit is contained in:
Anuken
2018-08-04 14:51:33 -04:00
parent f30ea80b42
commit 8ec87872c8
10 changed files with 242 additions and 40 deletions

View File

@@ -22,7 +22,7 @@ public class PausedDialog extends FloatingDialog{
void rebuild(){
missionTable.clear();
if(world.getSector() != null){
if(world.getSector() != null && !world.getSector().complete){
missionTable.add("[LIGHT_GRAY]" + Bundles.format("text.mission", ""));
missionTable.row();
missionTable.table(t -> {

View File

@@ -27,7 +27,7 @@ public class SaveDialog extends LoadDialog{
ui.showTextInput("$text.save", "$text.save.newslot", "", text -> {
ui.loadAnd("$text.saving", () -> {
control.getSaves().addSave(text);
setup();
threads.runGraphics(() -> threads.run(() -> threads.runGraphics(this::setup)));
});
})
).fillX().margin(10f).minWidth(300f).height(70f).pad(4f).padRight(-4);