diff --git a/core/src/mindustry/type/weapons/BuildWeapon.java b/core/src/mindustry/type/weapons/BuildWeapon.java index ab51b976f5..98d732ee8d 100644 --- a/core/src/mindustry/type/weapons/BuildWeapon.java +++ b/core/src/mindustry/type/weapons/BuildWeapon.java @@ -38,7 +38,7 @@ public class BuildWeapon extends Weapon{ mount.aimY = unit.buildPlan().drawy(); }else{ //aim for front - float weaponRotation = unit.rotation - 90; + float weaponRotation = unit.rotation - 90 + baseRotation; mount.aimX = unit.x + Angles.trnsx(unit.rotation - 90, x, y) + Angles.trnsx(weaponRotation, this.shootX, this.shootY); mount.aimY = unit.y + Angles.trnsy(unit.rotation - 90, x, y) + Angles.trnsy(weaponRotation, this.shootX, this.shootY); }