This commit is contained in:
Anuken
2019-12-27 01:22:50 -05:00
parent 98f8a1732e
commit c0c0ffa682
3 changed files with 3 additions and 1 deletions

View File

@@ -1079,6 +1079,7 @@ public class Fx implements ContentList{
healBlockFull = new Effect(20, e -> { healBlockFull = new Effect(20, e -> {
Draw.color(e.color); Draw.color(e.color);
Draw.alpha(e.fout()); Draw.alpha(e.fout());
Fill.square(e.x, e.y, e.rotation * tilesize / 2f);
}); });
overdriveBlockFull = new Effect(60, e -> { overdriveBlockFull = new Effect(60, e -> {

View File

@@ -300,7 +300,7 @@ public class DesktopInput extends InputHandler{
} }
} }
if(Core.input.keyTap(Binding.clear_building)){ if(Core.input.keyTap(Binding.clear_building) || isPlacing()){
lastSchematic = null; lastSchematic = null;
selectRequests.clear(); selectRequests.clear();
} }

View File

@@ -85,6 +85,7 @@ public class Mods implements Loadable{
try{ try{
mods.add(loadMod(dest)); mods.add(loadMod(dest));
requiresReload = true; requiresReload = true;
sortMods();
}catch(IOException e){ }catch(IOException e){
dest.delete(); dest.delete();
throw e; throw e;