Bugfixes
This commit is contained in:
@@ -82,6 +82,7 @@ public class MinimapRenderer implements Disposable{
|
|||||||
rect.set((dx - sz) * tilesize, (dy - sz) * tilesize, sz * 2 * tilesize, sz * 2 * tilesize);
|
rect.set((dx - sz) * tilesize, (dy - sz) * tilesize, sz * 2 * tilesize, sz * 2 * tilesize);
|
||||||
|
|
||||||
for(Unit unit : units){
|
for(Unit unit : units){
|
||||||
|
if(unit.isDead()) continue;
|
||||||
float rx = (unit.x - rect.x) / rect.width * w;
|
float rx = (unit.x - rect.x) / rect.width * w;
|
||||||
float ry = (unit.y - rect.y) / rect.width * h;
|
float ry = (unit.y - rect.y) / rect.width * h;
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import static mindustry.Vars.*;
|
|||||||
|
|
||||||
/** Handles control of bleeding edge builds. */
|
/** Handles control of bleeding edge builds. */
|
||||||
public class BeControl{
|
public class BeControl{
|
||||||
private static final int updateInterval = 60;
|
private static final int updateInterval = 60 * 2;
|
||||||
|
|
||||||
private AsyncExecutor executor = new AsyncExecutor(1);
|
private AsyncExecutor executor = new AsyncExecutor(1);
|
||||||
private boolean checkUpdates = true;
|
private boolean checkUpdates = true;
|
||||||
@@ -64,7 +64,6 @@ public class BeControl{
|
|||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
Core.app.post(() -> done.get(false));
|
Core.app.post(() -> done.get(false));
|
||||||
Log.err("Update check responded with: {0}", res.getStatus());
|
|
||||||
}
|
}
|
||||||
}, error -> {
|
}, error -> {
|
||||||
if(!headless){
|
if(!headless){
|
||||||
|
|||||||
Reference in New Issue
Block a user