This commit is contained in:
Anuken
2020-12-13 18:01:22 -05:00
parent 1c8d368d3b
commit 901c23f295
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ public class FormationAI extends AIController implements FormationMember{
}
if(unit.type.canBoost){
unit.elevation = Mathf.approachDelta(unit.elevation, !unit.canPassOn() ? 1f : leader.type.canBoost ? leader.elevation : 0f, 0.08f);
unit.elevation = Mathf.approachDelta(unit.elevation, unit.onSolid() ? 1f : leader.type.canBoost ? leader.elevation : 0f, 0.08f);
}
unit.controlWeapons(true, leader.isShooting);