mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 03:00:29 +03:00
Fixed #12560
This commit is contained in:
@@ -630,13 +630,17 @@ public class DesktopInput extends InputHandler{
|
||||
if(selectPlans.isEmpty()){
|
||||
lastSchematic = null;
|
||||
}
|
||||
schemX = -1;
|
||||
schemY = -1;
|
||||
if(!input.keyDown(Binding.rebuildSelect)){
|
||||
schemX = -1;
|
||||
schemY = -1;
|
||||
}
|
||||
}else if(input.keyRelease(Binding.rebuildSelect)){
|
||||
|
||||
rebuildArea(schemX, schemY, rawCursorX, rawCursorY);
|
||||
schemX = -1;
|
||||
schemY = -1;
|
||||
if(!input.keyDown(Binding.schematicSelect)){
|
||||
schemX = -1;
|
||||
schemY = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user