diff --git a/core/src/mindustry/ai/BaseBuilderAI.java b/core/src/mindustry/ai/BaseBuilderAI.java index b3093b4f17..763fd15ee5 100644 --- a/core/src/mindustry/ai/BaseBuilderAI.java +++ b/core/src/mindustry/ai/BaseBuilderAI.java @@ -147,7 +147,7 @@ public class BaseBuilderAI{ } //only schedule when there's something to build. - if((foundPath || (!calculating && !foundPath)) && data.plans.isEmpty() && timer.get(timerStep, Mathf.lerp(placeIntervalMin, placeIntervalMax, data.team.rules().buildAiTier))){ + if((foundPath || !calculating) && data.plans.isEmpty() && timer.get(timerStep, Mathf.lerp(placeIntervalMin, placeIntervalMax, data.team.rules().buildAiTier))){ for(int i = 0; i < attempts; i++){ int range = 150; diff --git a/core/src/mindustry/logic/LStatements.java b/core/src/mindustry/logic/LStatements.java index a8c35141b0..a20f1f30d8 100644 --- a/core/src/mindustry/logic/LStatements.java +++ b/core/src/mindustry/logic/LStatements.java @@ -643,7 +643,7 @@ public class LStatements{ b.clicked(() -> showSelect(b, LogicOp.all, op, o -> { op = o; rebuild(parent); - })); + }, 4, c -> c.width(64f))); }, Styles.logict, () -> {}).size(64f, 40f).pad(4f).color(table.color); } diff --git a/core/src/mindustry/world/blocks/power/LightBlock.java b/core/src/mindustry/world/blocks/power/LightBlock.java index 0d033aac05..8beccc9f76 100644 --- a/core/src/mindustry/world/blocks/power/LightBlock.java +++ b/core/src/mindustry/world/blocks/power/LightBlock.java @@ -38,7 +38,8 @@ public class LightBlock extends Block{ @Override public void init(){ - lightRadius = radius*3f; + lightRadius = radius*2.5f; + clipSize = Math.max(clipSize, lightRadius * 3f); emitLight = true; super.init();