Fixed #8732
This commit is contained in:
@@ -7,7 +7,6 @@ import arc.math.*;
|
||||
import arc.math.geom.*;
|
||||
import arc.struct.*;
|
||||
import arc.util.*;
|
||||
import mindustry.content.*;
|
||||
import mindustry.core.*;
|
||||
import mindustry.game.EventType.*;
|
||||
import mindustry.game.*;
|
||||
@@ -286,9 +285,6 @@ public class ControlPathfinder{
|
||||
float angleToDest = unit.angleTo(tile);
|
||||
//force recalculate when the unit moves backwards
|
||||
if(Angles.angleDist(angleToNext, angleToDest) > 80f && !unit.within(tile, 1f)){
|
||||
if(showDebug){
|
||||
Fx.placeBlock.at(unit, 1f);
|
||||
}
|
||||
req.forceRecalculate();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -201,7 +201,7 @@ public class MobileInput extends InputHandler implements GestureListener{
|
||||
|
||||
//rotate button
|
||||
table.button(Icon.right, Styles.clearNoneTogglei, () -> {
|
||||
if(block != null && block.rotate && block.quickRotate){
|
||||
if(block != null && block.rotate){
|
||||
rotation = Mathf.mod(rotation + 1, 4);
|
||||
}else{
|
||||
schematicMode = !schematicMode;
|
||||
|
||||
Reference in New Issue
Block a user