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; ai.group = null;
} }
//remove when other player command
if(!headless && player != Vars.player){
control.input.selectedUnits.remove(unit);
}
toAdd.add(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); Point2 next = i == points.size - 1 ? null : points.get(i + 1);
line.x = point.x; line.x = point.x;
line.y = point.y; line.y = point.y;
if((!overrideLineRotation || diagonal) && !(block != null && block.ignoreLineRotation)){ if((!overrideLineRotation || diagonal) && !(block != null && block.ignoreLineRotation && !mobile)){
int result = baseRotation; int result = baseRotation;
if(next != null){ if(next != null){
result = Tile.relativeTo(point.x, point.y, next.x, next.y); result = Tile.relativeTo(point.x, point.y, next.x, next.y);

View File

@@ -69,7 +69,7 @@ public class BeamDrill extends Block{
solid = true; solid = true;
drawArrow = false; drawArrow = false;
regionRotated1 = 1; regionRotated1 = 1;
if(!mobile) ignoreLineRotation = true; ignoreLineRotation = true;
ambientSoundVolume = 0.05f; ambientSoundVolume = 0.05f;
ambientSound = Sounds.loopMineBeam; ambientSound = Sounds.loopMineBeam;

View File

@@ -57,7 +57,7 @@ public class WallCrafter extends Block{
rotate = true; rotate = true;
update = true; update = true;
solid = true; solid = true;
if(!mobile) ignoreLineRotation = true; ignoreLineRotation = true;
regionRotated1 = 1; regionRotated1 = 1;
envEnabled |= Env.space; envEnabled |= Env.space;