mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-12 10:59:22 +07:00
Fixed #7705
This commit is contained in:
parent
6def8f5281
commit
d87c381021
@ -33,7 +33,9 @@ public class RepairAI extends AIController{
|
||||
circleAttack(120f);
|
||||
}else if(!target.within(unit, unit.type.range * 0.65f)){
|
||||
moveTo(target, unit.type.range * 0.65f);
|
||||
}
|
||||
|
||||
if(!unit.type.circleTarget){
|
||||
unit.lookAt(target);
|
||||
}
|
||||
}
|
||||
|
@ -199,7 +199,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
||||
diag.hide();
|
||||
}).size(300f, 64f).disabled(b -> selected[0] == null);
|
||||
|
||||
app.post(() -> diag.show());
|
||||
app.post(diag::show);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user