Fixed #5800
This commit is contained in:
@@ -23,11 +23,9 @@ import mindustry.world.modules.*;
|
|||||||
import static mindustry.Vars.*;
|
import static mindustry.Vars.*;
|
||||||
|
|
||||||
public class PowerNode extends PowerBlock{
|
public class PowerNode extends PowerBlock{
|
||||||
protected static boolean returnValue = false;
|
|
||||||
protected static BuildPlan otherReq;
|
protected static BuildPlan otherReq;
|
||||||
|
|
||||||
protected final static ObjectSet<PowerGraph> graphs = new ObjectSet<>();
|
|
||||||
protected static int returnInt = 0;
|
protected static int returnInt = 0;
|
||||||
|
protected final static ObjectSet<PowerGraph> graphs = new ObjectSet<>();
|
||||||
|
|
||||||
public @Load("laser") TextureRegion laser;
|
public @Load("laser") TextureRegion laser;
|
||||||
public @Load("laser-end") TextureRegion laserEnd;
|
public @Load("laser-end") TextureRegion laserEnd;
|
||||||
@@ -133,6 +131,13 @@ public class PowerNode extends PowerBlock{
|
|||||||
stats.add(Stat.powerConnections, maxNodes, StatUnit.none);
|
stats.add(Stat.powerConnections, maxNodes, StatUnit.none);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void init(){
|
||||||
|
super.init();
|
||||||
|
|
||||||
|
clipSize = Math.max(clipSize, laserRange * tilesize);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void drawPlace(int x, int y, int rotation, boolean valid){
|
public void drawPlace(int x, int y, int rotation, boolean valid){
|
||||||
Tile tile = world.tile(x, y);
|
Tile tile = world.tile(x, y);
|
||||||
|
|||||||
@@ -11,4 +11,4 @@ android.useAndroidX=true
|
|||||||
#used for slow jitpack builds; TODO see if this actually works
|
#used for slow jitpack builds; TODO see if this actually works
|
||||||
http.socketTimeout=80000
|
http.socketTimeout=80000
|
||||||
http.connectionTimeout=80000
|
http.connectionTimeout=80000
|
||||||
archash=f50ceb463ce4cc7e0b09a7817b12d98c43f00068
|
archash=d9eb4aa5b85f51c87f2e5e78cea4043e65bd29f0
|
||||||
|
|||||||
Reference in New Issue
Block a user