This commit is contained in:
Anuken
2019-12-29 00:40:25 -05:00
parent 77b89d45d6
commit e04c592f9e
2 changed files with 2 additions and 2 deletions

View File

@@ -82,6 +82,7 @@ public class MinimapRenderer implements Disposable{
rect.set((dx - sz) * tilesize, (dy - sz) * tilesize, sz * 2 * tilesize, sz * 2 * tilesize);
for(Unit unit : units){
if(unit.isDead()) continue;
float rx = (unit.x - rect.x) / rect.width * w;
float ry = (unit.y - rect.y) / rect.width * h;

View File

@@ -22,7 +22,7 @@ import static mindustry.Vars.*;
/** Handles control of bleeding edge builds. */
public class BeControl{
private static final int updateInterval = 60;
private static final int updateInterval = 60 * 2;
private AsyncExecutor executor = new AsyncExecutor(1);
private boolean checkUpdates = true;
@@ -64,7 +64,6 @@ public class BeControl{
}
}else{
Core.app.post(() -> done.get(false));
Log.err("Update check responded with: {0}", res.getStatus());
}
}, error -> {
if(!headless){