Fixed #7705
This commit is contained in:
@@ -33,7 +33,9 @@ public class RepairAI extends AIController{
|
|||||||
circleAttack(120f);
|
circleAttack(120f);
|
||||||
}else if(!target.within(unit, unit.type.range * 0.65f)){
|
}else if(!target.within(unit, unit.type.range * 0.65f)){
|
||||||
moveTo(target, unit.type.range * 0.65f);
|
moveTo(target, unit.type.range * 0.65f);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!unit.type.circleTarget){
|
||||||
unit.lookAt(target);
|
unit.lookAt(target);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
|||||||
diag.hide();
|
diag.hide();
|
||||||
}).size(300f, 64f).disabled(b -> selected[0] == null);
|
}).size(300f, 64f).disabled(b -> selected[0] == null);
|
||||||
|
|
||||||
app.post(() -> diag.show());
|
app.post(diag::show);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user