This commit is contained in:
Anuken
2025-09-05 12:00:30 -04:00
parent 59f8f5cd11
commit 625c354461
4 changed files with 6 additions and 4 deletions
@@ -35,6 +35,7 @@ public class PowerNode extends PowerBlock{
public int maxNodes = 3;
public boolean autolink = true, drawRange = true, sameBlockConnection = false;
public float laserScale = 0.25f;
public float powerLayer = Layer.power;
public Color laserColor1 = Color.white;
public Color laserColor2 = Pal.powerLight;
@@ -479,7 +480,7 @@ public class PowerNode extends PowerBlock{
if(Mathf.zero(Renderer.laserOpacity) || isPayload() || team == Team.derelict) return;
Draw.z(Layer.power);
Draw.z(powerLayer);
setupColor(power.graph.getSatisfaction());
for(int i = 0; i < power.links.size; i++){