Closes Anuken/Mindustry-Suggestions/issues/5877

This commit is contained in:
Anuken
2025-10-03 18:41:12 +09:00
parent 155f0d50f7
commit 1985d67f7a
5 changed files with 6 additions and 1 deletions

View File

@@ -2254,7 +2254,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
Point2 next = i == points.size - 1 ? null : points.get(i + 1);
line.x = point.x;
line.y = point.y;
if(!overrideLineRotation || diagonal){
if((!overrideLineRotation || diagonal) && !(block != null && block.ignoreLineRotation)){
int result = baseRotation;
if(next != null){
result = Tile.relativeTo(point.x, point.y, next.x, next.y);