This commit is contained in:
Anuken
2019-10-20 14:06:43 -04:00
parent b5e9f280e6
commit 4b428c6636
9 changed files with 71 additions and 40 deletions

View File

@@ -73,7 +73,7 @@ public class DesktopInput extends InputHandler{
ui.showInfoFade("$schematic.saved");
ui.schematics.showInfo(lastSchematic);
});
}).colspan(2).size(250f, 50f);
}).colspan(2).size(250f, 50f).disabled(f -> lastSchematic == null || lastSchematic.file != null);
});
}).margin(6f);
});
@@ -175,6 +175,7 @@ public class DesktopInput extends InputHandler{
if(mode != none){
selectRequests.clear();
lastSchematic = null;
}
if(player.isShooting && !canShoot()){