Fixed #5685
This commit is contained in:
@@ -130,7 +130,7 @@ public class Fx{
|
||||
Fill.circle(x, y, e.fslope() * 1.5f * size);
|
||||
}),
|
||||
|
||||
pointBeam = new Effect(25f, e -> {
|
||||
pointBeam = new Effect(25f, 300f, e -> {
|
||||
if(!(e.data instanceof Position)) return;
|
||||
|
||||
Position pos = e.data();
|
||||
|
||||
@@ -126,6 +126,9 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
|
||||
if(isBuilding()){
|
||||
return state.rules.infiniteResources ? Float.MAX_VALUE : Math.max(type.clipSize, type.region.width) + buildingRange + tilesize*4f;
|
||||
}
|
||||
if(mining()){
|
||||
return type.clipSize + type.miningRange;
|
||||
}
|
||||
return type.clipSize;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user