mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-11 07:39:39 +07:00
Bugfixes
This commit is contained in:
parent
98f8a1732e
commit
c0c0ffa682
@ -1079,6 +1079,7 @@ public class Fx implements ContentList{
|
||||
healBlockFull = new Effect(20, e -> {
|
||||
Draw.color(e.color);
|
||||
Draw.alpha(e.fout());
|
||||
Fill.square(e.x, e.y, e.rotation * tilesize / 2f);
|
||||
});
|
||||
|
||||
overdriveBlockFull = new Effect(60, e -> {
|
||||
|
@ -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;
|
||||
selectRequests.clear();
|
||||
}
|
||||
|
@ -85,6 +85,7 @@ public class Mods implements Loadable{
|
||||
try{
|
||||
mods.add(loadMod(dest));
|
||||
requiresReload = true;
|
||||
sortMods();
|
||||
}catch(IOException e){
|
||||
dest.delete();
|
||||
throw e;
|
||||
|
Loading…
Reference in New Issue
Block a user