This commit is contained in:
Anuken 2022-10-13 16:53:25 -04:00
parent 6def8f5281
commit d87c381021
2 changed files with 3 additions and 1 deletions

View File

@ -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);
}
}

View File

@ -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);
}
});