Disabled line rotation lock on mobile / Disabled command queue 'stealing'

This commit is contained in:
Anuken
2026-01-01 11:13:57 -05:00
parent 87e2dc69a2
commit 0bf2eea358
3 changed files with 3 additions and 8 deletions

View File

@@ -341,11 +341,6 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
ai.group = null;
}
//remove when other player command
if(!headless && player != Vars.player){
control.input.selectedUnits.remove(unit);
}
toAdd.add(unit);
}
}
@@ -2319,7 +2314,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) && !(block != null && block.ignoreLineRotation)){
if((!overrideLineRotation || diagonal) && !(block != null && block.ignoreLineRotation && !mobile)){
int result = baseRotation;
if(next != null){
result = Tile.relativeTo(point.x, point.y, next.x, next.y);