From 0b09d0438ac0202c280258e60e77ce6ff8ea345d Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 9 Feb 2025 11:19:31 -0500 Subject: [PATCH] I'll do it myself --- core/src/mindustry/type/UnitType.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/type/UnitType.java b/core/src/mindustry/type/UnitType.java index 16e4a5b12e..68513a7f58 100644 --- a/core/src/mindustry/type/UnitType.java +++ b/core/src/mindustry/type/UnitType.java @@ -1366,7 +1366,8 @@ public class UnitType extends UnlockableContent implements Senseable{ Draw.color(Color.lightGray, Color.white, 1f - flashScl + Mathf.absin(Time.time, 0.5f, flashScl)); - Drawf.laser(Core.atlas.find("minelaser"), Core.atlas.find("minelaser-end"), px, py, ex, ey, 0.75f); + Draw.alpha(Renderer.unitLaserOpacity); + Drawf.laser(mineLaserRegion, mineLaserEndRegion, px, py, ex, ey, 0.75f); if(unit.isLocal()){ Lines.stroke(1f, Pal.accent);