diff --git a/core/src/mindustry/world/blocks/power/PowerNode.java b/core/src/mindustry/world/blocks/power/PowerNode.java index df49366a8f..7ced9f8052 100644 --- a/core/src/mindustry/world/blocks/power/PowerNode.java +++ b/core/src/mindustry/world/blocks/power/PowerNode.java @@ -23,11 +23,9 @@ import mindustry.world.modules.*; import static mindustry.Vars.*; public class PowerNode extends PowerBlock{ - protected static boolean returnValue = false; protected static BuildPlan otherReq; - - protected final static ObjectSet graphs = new ObjectSet<>(); protected static int returnInt = 0; + protected final static ObjectSet graphs = new ObjectSet<>(); public @Load("laser") TextureRegion laser; public @Load("laser-end") TextureRegion laserEnd; @@ -133,6 +131,13 @@ public class PowerNode extends PowerBlock{ stats.add(Stat.powerConnections, maxNodes, StatUnit.none); } + @Override + public void init(){ + super.init(); + + clipSize = Math.max(clipSize, laserRange * tilesize); + } + @Override public void drawPlace(int x, int y, int rotation, boolean valid){ Tile tile = world.tile(x, y); diff --git a/gradle.properties b/gradle.properties index 1b5e22e670..fa7fb4b746 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,4 +11,4 @@ android.useAndroidX=true #used for slow jitpack builds; TODO see if this actually works http.socketTimeout=80000 http.connectionTimeout=80000 -archash=f50ceb463ce4cc7e0b09a7817b12d98c43f00068 +archash=d9eb4aa5b85f51c87f2e5e78cea4043e65bd29f0