Misc minor bugfixes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user