diff --git a/core/src/mindustry/type/UnitType.java b/core/src/mindustry/type/UnitType.java index d8ece89575..5317cdf638 100644 --- a/core/src/mindustry/type/UnitType.java +++ b/core/src/mindustry/type/UnitType.java @@ -1350,7 +1350,7 @@ public class UnitType extends UnlockableContent implements Senseable{ float px = unit.x + Angles.trnsx(unit.rotation, focusLen); float py = unit.y + Angles.trnsy(unit.rotation, focusLen); - drawMiningBeam(px, py); + drawMiningBeam(unit, px, py); } }