diff --git a/core/src/io/anuke/mindustry/entities/effect/Decal.java b/core/src/io/anuke/mindustry/entities/effect/Decal.java index 6336c798a1..9bcaf7a2c3 100644 --- a/core/src/io/anuke/mindustry/entities/effect/Decal.java +++ b/core/src/io/anuke/mindustry/entities/effect/Decal.java @@ -14,7 +14,7 @@ import static io.anuke.mindustry.Vars.groundEffectGroup; * Class for creating block rubble on the ground. */ public abstract class Decal extends TimedEntity implements BelowLiquidTrait, DrawTrait{ - private static final Color color = Color.valueOf("2c2928"); + private static final Color color = Color.valueOf("3a3635"); @Override public float lifetime(){ diff --git a/core/src/io/anuke/mindustry/entities/units/GroundUnit.java b/core/src/io/anuke/mindustry/entities/units/GroundUnit.java index 9e0f6650e3..ae278c9c36 100644 --- a/core/src/io/anuke/mindustry/entities/units/GroundUnit.java +++ b/core/src/io/anuke/mindustry/entities/units/GroundUnit.java @@ -265,7 +265,9 @@ public abstract class GroundUnit extends BaseUnit{ float angle = angleTo(targetTile); velocity.add(vec.trns(angleTo(targetTile), type.speed*Time.delta())); - rotation = Mathf.slerpDelta(rotation, angle, type.rotatespeed); + if(Units.invalidateTarget(target, this)){ + rotation = Mathf.slerpDelta(rotation, angle, type.rotatespeed); + } } protected void moveAwayFromCore(){