mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Better allowRectanglePlacement
This commit is contained in:
parent
bd4ae0639d
commit
76e83c1516
3 changed files with 5 additions and 5 deletions
|
|
@ -1978,7 +1978,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
|||
}else{
|
||||
points = Placement.pathfindLine(block != null && block.conveyorPlacement, startX, startY, endX, endY);
|
||||
}
|
||||
}else if(block != null && block.size == 1 && block.allowRectanglePlacement){
|
||||
}else if(block != null && block.allowRectanglePlacement){
|
||||
points = Placement.normalizeRectangle(startX, startY, endX, endY, block.size);
|
||||
}else{
|
||||
points = Placement.normalizeLine(startX, startY, endX, endY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue